Update webpack to the latest beta

This commit is contained in:
Roman Hotsiy 2016-11-29 09:20:11 +02:00
parent aef4039949
commit a8285b2652
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
4 changed files with 10 additions and 8 deletions

View File

@ -37,7 +37,9 @@ module.exports = {
},
devServer: {
outputPath: root('dist'),
contentBase: root('demo'),
watchContentBase: true,
compress: true,
watchOptions: {
poll: true
},
@ -95,15 +97,15 @@ module.exports = {
exclude: [/\.(spec|e2e)\.ts$/]
}, {
test: /lib[\\\/].*\.scss$/,
loaders: ['raw-loader', "sass"],
loaders: ['raw-loader', "sass-loader"],
exclude: [/redoc-initial-styles\.scss$/]
}, {
test: /\.scss$/,
loaders: ['style', 'css?-import', "sass"],
loaders: ['style-loader', 'css-loader?-import', "sass-loader"],
exclude: [/lib[\\\/](?!.*redoc-initial-styles).*\.scss$/]
}, {
test: /\.css$/,
loaders: ['style', 'css?-import'],
loaders: ['style-loader', 'css-loader?-import'],
}, {
test: /\.html$/,
loader: 'raw-loader'

View File

@ -70,7 +70,7 @@ const config = {
exclude: [/redoc-initial-styles\.css$/]
}, {
test: /\.css$/,
loaders: ['style', 'css?-import'],
loaders: ['style-loader', 'css-loader?-import'],
exclude: [/lib[\\\/](?!.*redoc-initial-styles).*\.css$/]
}]
},

View File

@ -61,7 +61,7 @@ module.exports = {
exclude: [/redoc-initial-styles\.css$/]
}, {
test: /\.css$/,
loaders: ['style', 'css?-import'],
loaders: ['style-loader', 'css-loader?-import'],
exclude: [/lib[\\\/](?!.*redoc-initial-styles).*\.css$/]
}, {
test: /\.html$/,

View File

@ -96,8 +96,8 @@
"ts-helpers": "^1.1.1",
"tslint": "^3.15.1",
"typescript": "^2.0.3",
"webpack": "^2.1.0-beta.25",
"webpack-dev-server": "^2.1.0-beta.10",
"webpack": "^2.1.0-beta.27",
"webpack-dev-server": "^2.1.0-beta.12",
"zone.js": "^0.6.25"
},
"dependencies": {