Closed escapedcat closed 7 years ago
This seems to be related to Can not load 'webpack' - issue with v2.1.0 #210.
Changing these two parts in webpack.config.js
make the tests work but they fail due to missing css:
if (!isTest) {
config.entry = {
app: './src/app/app.js'
};
};
// loader: isTest ? 'null' : ExtractTextPlugin.extract({
// fallbackLoader: 'style-loader',
// loader: [
// {loader: 'css-loader', query: {sourceMap: true}},
// {loader: 'postcss-loader'}
// ],
// })
@escapedcat i've experiencing this bug too. i will look into it right now.
@escapedcat can you try to check if now the problem is gone also for you? thanks.
Thanks @phra, works!
And I learned that:
void
can be used in that waynull-loader
is an actual thing. I didn't see that beforeThanks for that as well!
@escapedcat happy to help! 👍
I checked out the latest master (after the webpack2 update).
When I run
npm test
I get this and some more error messages:Anyone else is having the same issue?
Did I miss something?
I'm running node version 5.8.0 on Linux Mint.