0
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 3 years have passed since last update.

gulpを使わずbrowserifyでsource mapsを作ってみた

Posted at

gulpを使わずに何とかbrowserifyのコマンドだけでできないか調べてみた。

browserifyのgitページに以下の記載があったため試してみた。

$ browserify main.js --debug | exorcist bundle.js.map > bundle.js

実行してみたら怒られた。

exorcistがなかったらしい。
仕方ないので、npmでexorcistもインストールして再実行すると
bundle.js.mapがちゃんとできてて、
google chormeでも開発モードでソースが見やすくなってることを確認できた。

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