ウェブエンジニア珍道中

日々の技術的に関する経験を書いていきます。脱線もしますが助けになれば幸いです。

webpack

Pts.jsをtypescript環境で動かしてみた

Pts.jsというものがGithubで話題になってるらしいです、点を線でつないでいい感じの図形を描画できるとか何とか。 github.com Like seeing the Big Dipper in a sky full of stars, Pts helps you connect the dots in the vastness of conceptual spaces. …

webpack4には"--mode"オプションが必須らしい

正直タイトルが全てなんですが、ちょっと詰まったのでメモっときます webpack4でtypescriptのトランスパイルをしてたら以下の警告文が出ました。 WARNING in configuration The 'mode' option has not been set. Set 'mode' option to 'development' or 'pro…