Browse Source

Some config fixes

pull/1/head
Sebastian 9 years ago
parent
commit
b87660ac09
  1. 2
      src/Squidex/app-config/webpack.config.js
  2. 2
      src/Squidex/app-config/webpack.run.prod.js
  3. 2
      src/Squidex/package.json

2
src/Squidex/app-config/webpack.config.js

@ -73,7 +73,7 @@ module.exports = {
* *
* See: https://github.com/webpack-contrib/extract-text-webpack-plugin * See: https://github.com/webpack-contrib/extract-text-webpack-plugin
*/ */
use: ExtractTextPlugin.extract({ fallbackLoader: 'style-loader', loader: 'css-loader?sourceMap' }) use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader?sourceMap' })
}, { }, {
test: /\.scss$/, test: /\.scss$/,
use: [{ use: [{

2
src/Squidex/app-config/webpack.run.prod.js

@ -58,7 +58,7 @@ module.exports = webpackMerge(runConfig, {
* *
* See: https://github.com/webpack-contrib/extract-text-webpack-plugin * See: https://github.com/webpack-contrib/extract-text-webpack-plugin
*/ */
use: ExtractTextPlugin.extract({ fallbackLoader: 'style-loader', loader: 'css-loader!sass-loader?sourceMap' }), use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader!sass-loader?sourceMap' }),
/* /*
* Do not include component styles * Do not include component styles
*/ */

2
src/Squidex/package.json

@ -9,7 +9,7 @@
"test:coverage": "karma start karma.coverage.conf.js", "test:coverage": "karma start karma.coverage.conf.js",
"test:clean": "rimraf _test-output", "test:clean": "rimraf _test-output",
"dev": "cpx node_modules/oidc-client/dist/oidc-client.min.js wwwroot/scripts/ & webpack-dev-server --config app-config/webpack.run.dev.js --inline --hot --port 3000", "dev": "cpx node_modules/oidc-client/dist/oidc-client.min.js wwwroot/scripts/ & webpack-dev-server --config app-config/webpack.run.dev.js --inline --hot --port 3000",
"build": "webpack --config app-config/webpack.run.prod.js --display-error-details", "build": "webpack --config app-config/webpack.run.prod.js --display-error-details --bail",
"build:copy": "cpx node_modules/oidc-client/dist/oidc-client.min.js wwwroot/scripts/", "build:copy": "cpx node_modules/oidc-client/dist/oidc-client.min.js wwwroot/scripts/",
"build:clean": "rimraf wwwroot/build" "build:clean": "rimraf wwwroot/build"
}, },

Loading…
Cancel
Save