Work around css-loader issue during testing
This commit is contained in:
parent
ead6d4a2c8
commit
e813b0576a
|
|
@ -32,6 +32,7 @@
|
|||
"devDependencies": {
|
||||
"appcache-webpack-plugin": "^1.2.1",
|
||||
"css-loader": "^0.23.0",
|
||||
"es6-promise": "^3.0.2",
|
||||
"extract-text-webpack-plugin": "^0.9.1",
|
||||
"file-loader": "^0.8.4",
|
||||
"html-loader": "^0.3.0",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround for css-loader issue
|
||||
// https://github.com/webpack/css-loader/issues/144
|
||||
if (!global.Promise) {
|
||||
require('es6-promise').polyfill();
|
||||
}
|
||||
|
||||
var path = require('path');
|
||||
var fs = require('fs');
|
||||
var webpack = require('webpack');
|
||||
|
|
|
|||
Loading…
Reference in New Issue