|
|
@@ -86,6 +86,10 @@ module.exports = (options) => {
|
|
|
basenameAsNamespace: true,
|
|
|
}
|
|
|
},
|
|
|
+ { // see https://github.com/abpetkov/switchery/issues/120
|
|
|
+ test: /switchery\.js$/,
|
|
|
+ loader: 'imports-loader?module=>false,exports=>false,define=>false,this=>window'
|
|
|
+ },
|
|
|
{
|
|
|
test: /\.css$/,
|
|
|
use: ['style-loader', 'css-loader'],
|