mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
theme spinner
This commit is contained in:
parent
00f6c0e6cb
commit
31c7843ab5
10 changed files with 58 additions and 13 deletions
|
|
@ -4,6 +4,7 @@ const helpers = require('./helpers');
|
|||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;
|
||||
var ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
|
||||
const METADATA = {
|
||||
title: 'Blur Admin on Angular2',
|
||||
|
|
@ -86,8 +87,7 @@ module.exports = {
|
|||
loader: 'source-map-loader',
|
||||
exclude: [
|
||||
// these packages have problems with their sourcemaps
|
||||
helpers.root('node_modules/rxjs'),
|
||||
helpers.root('node_modules/@angular2-material')
|
||||
helpers.root('node_modules/rxjs')
|
||||
]
|
||||
}
|
||||
|
||||
|
|
@ -132,6 +132,11 @@ module.exports = {
|
|||
loaders: ['raw-loader', 'sass-loader']
|
||||
},
|
||||
|
||||
{
|
||||
test: /initial\.scss$/,
|
||||
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!sass-loader')
|
||||
},
|
||||
|
||||
{
|
||||
test: /\.woff(2)?(\?v=.+)?$/, loader: "url-loader?limit=10000&mimetype=application/font-woff"
|
||||
},
|
||||
|
|
@ -166,6 +171,10 @@ module.exports = {
|
|||
* See: http://webpack.github.io/docs/configuration.html#plugins
|
||||
*/
|
||||
plugins: [
|
||||
new ExtractTextPlugin('initial.css', {
|
||||
allChunks: true
|
||||
}),
|
||||
|
||||
new webpack.ResolverPlugin(
|
||||
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('bower.json', ['main'])
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue