2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Webpack2 と karma-webpack で出会った問題

2
Posted at

webpack2 に移行してた時、karma-webpack で以下のエラーが出て、小一時間ハマった。

16:10:58.288:ERROR [preprocess]: Can not load "webpack"!

やったこと

resolve: {
-  extensions: [ '', '.js' ],
+  extensions: [ '.js' ],
}

http://naughtldy.hatenablog.jp/entry/2017/02/25/080000
「extensions にemptyな '' を指定してはいけない」様子。Can not load "webpack"!じゃわからんぜ。。

2
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?