Run a script (like postinstall) after npm installing a single package?

前端 未结 3 1690
甜味超标
甜味超标 2020-12-03 16:15

I\'m starting to play around with Snowpack. It takes a different approach from Webpack by bundling individual packages right after they\'re installed.

The \"issue\"

3条回答
  •  情歌与酒
    2020-12-03 16:45

    With newer versions of Snowpack (>=2) you can run snowpack dev and it will watch your npm_modules folder for new modules to build.

提交回复
热议问题