0
我想自動刪除評論與建設的WebPack建立時的時候。我想自動刪除評論與的WebPack
·我想刪除後//
·評論我可以刪除通過設置一些選項評論?
·我該怎麼辦?
▼main.js
// src/main.js I want to delete this part
var m = require("mithril")
var UserList = require("./views/UserList")
m.mount(document.body, UserList)
//I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.I want to delete this part.
▼的package.json
"scripts": {
"build": "webpack src/index.js bin/main.js -p"
}
$ npm start
你會想要在生產中使用縮小器,它會自動執行此操作。 – ceejayoz