javascript - How to make bundle.css and bundle.js files - Stack Overflow

I've been creating a basic website and have been working on the front end. And I preview it using

I've been creating a basic website and have been working on the front end. And I preview it using the mand npm start.

In my directory, I have these files

app.js
app.scss
index.html
package-lock.json
package.json
webpack.config.js

It's time for me to tie it in with my backend (Flask and Python programs), and I think I need to pile everything to get bundle.css and bundle.js files. However, I cannot seem to find the mand to pile everything and generate these files. I assume they would be some npm mand. Thanks a lot in advance!

I've been creating a basic website and have been working on the front end. And I preview it using the mand npm start.

In my directory, I have these files

app.js
app.scss
index.html
package-lock.json
package.json
webpack.config.js

It's time for me to tie it in with my backend (Flask and Python programs), and I think I need to pile everything to get bundle.css and bundle.js files. However, I cannot seem to find the mand to pile everything and generate these files. I assume they would be some npm mand. Thanks a lot in advance!

Share Improve this question asked Jul 18, 2018 at 2:05 Paulo CostaPaulo Costa 1,6553 gold badges15 silver badges17 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 5

You should try these bundler libraries. Read the documentation and follow the required format.

  1. Webpack: https://webpack.js/
  2. ParcelJS: https://parceljs/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744261174a4565641.html

相关推荐

  • javascript - How to make bundle.css and bundle.js files - Stack Overflow

    I've been creating a basic website and have been working on the front end. And I preview it using

    8天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信