mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
feature/file-templates: add __webpack.config.js template
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
("/package\\.json$" "__package.json" json-mode)
|
||||
("/bower\\.json$" "__bower.json" json-mode)
|
||||
("/gulpfile\\.js$" "__gulpfile.js" js-mode)
|
||||
("/webpack\\.config\\.js$" "__webpack.config.js" js-mode)
|
||||
("\\.lbaction/.+/Info.plist$" "__Info.plst" lb6-mode)
|
||||
("\\.lbaction/.+/\\(default\\|suggestions\\)\\.js$" "__default.js" lb6-mode)
|
||||
;; Lua
|
||||
|
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
entry: [
|
||||
${1:'./app/main.js'}
|
||||
],
|
||||
output: {
|
||||
path: __dirname + '/dist',
|
||||
filename: "app.bundle.js"
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.js$/, include: __dirname + '/app', loader: 'babel-loader' }$0
|
||||
]
|
||||
}
|
||||
// plugins: []
|
||||
};
|
Reference in New Issue
Block a user