Skip to content

Commit

Permalink
Use newer css-loader
Browse files Browse the repository at this point in the history
use es6-promise as workaround for
webpack-contrib/css-loader#144
  • Loading branch information
Jyri Kytömäki committed Apr 1, 2016
1 parent 954ce15 commit a0ec4a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion va-hakija/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"babel-core": "^5.8.20",
"babel-loader": "^5.3.2",
"chai": "^3.0.0",
"css-loader": "^0.18.0",
"css-loader": "^0.23.0",
"es6-promise": "^3.0.2",
"file-loader": "^0.8.4",
"jsdom": "3.1.2",
"less": "^2.5.1",
Expand Down
1 change: 1 addition & 0 deletions va-hakija/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const outputDir = "./resources/public/"

const webpack = require("webpack")
require("es6-promise").polyfill()
const LessPluginNpmImport = require('less-plugin-npm-import')
const commonsPlugin = new webpack.optimize.CommonsChunkPlugin({
name: "commons",
Expand Down
3 changes: 2 additions & 1 deletion va-virkailija/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"babel-core": "^5.8.20",
"babel-loader": "^5.3.2",
"chai": "^3.0.0",
"css-loader": "^0.18.0",
"css-loader": "^0.23.0",
"es6-promise": "^3.0.2",
"file-loader": "^0.8.4",
"jsdom": "3.1.2",
"less": "^2.5.1",
Expand Down
1 change: 1 addition & 0 deletions va-virkailija/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const outputDir = "./resources/public/"

const webpack = require("webpack")
require("es6-promise").polyfill()
const LessPluginNpmImport = require('less-plugin-npm-import')
const commonsPlugin = new webpack.optimize.CommonsChunkPlugin({
name: "commons",
Expand Down

0 comments on commit a0ec4a9

Please sign in to comment.