![]() Adding such a field lets us declare how to resolve an arbitrary set of packages by providing a path for each of them (I often use this to override long or unpractical import statements). entry.js bundle.js from you project root. If you only have it installed locally, then you should execute: nodemodules/.bin/webpack. First let’s create a directory, initialize npm, install webpack locally, and install the webpack-cli (the tool used to run webpack on the command line): We also need to adjust our package. ![]() Maybe you uninstalled it, and forgot You can check like this: npm list -depth 0 -global webpack grep webpack.
0 Comments
Leave a Reply. |