npm webpack init

Will your application have multiple bundles? (Y/n)
 Which module will be the first to enter the application? [example: './src/index']
 Which folder will your generated bundles be in? [default: dist]:
 Are you going to use this in production? (Y/n)
 Will you be using ES2015? (Y/n)
 Will you use one of the below CSS solutions? (Use arrow keys)
 If you want to bundle your CSS files, what will you name the bundle? (press enter to skip)

Name your 'webpack.[name].js?' [default: 'prod']:

翻译:

您的应用程序有多个包吗?(Y / n)

哪个模块将是第一个进入应用程序的模块?(例如:“。/ src /指数”)

您所生成的包将在哪个文件夹中?(默认值:dist):

你打算在生产中使用这个吗?(Y / n)

你会使用ES2015吗?(Y / n)

你会使用下面的CSS解决方案吗?(用箭头键)

如果你想要捆绑你的CSS文件,你会给这个包起什么名字?(按回车跳过)

命名您的webpack.[name]. js ?“(默认值:“prod”):


猜你喜欢

转载自blog.csdn.net/weixin_40818589/article/details/79564769