1
0

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.

webpack で -d option で build すると Android4.4 で error が出るよ。

Last updated at Posted at 2017-03-03

こんにちは、monpy です。

ハマったのでメモ

webpack は ver 1 -> ver 2 で Development shortcut -d の option の内容が変わりました。

ver1

--debug --devtool source-map --output-pathinfo

ver2

--debug --devtool eval-cheap-module-source-map --output-pathinfo

で、この devtool の値で コンパイルされたコーデは Android 4.4系の端末ではうまく読み込まれず。 __WEBPACK_AMD_DEFINE_ARRAY__ is not defined になります。

気をつけましょう。

1
0
0

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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?