feature/file-templates: add __webpack.config.js template
This commit is contained in:
parent
ac5ad085dc
commit
3ce0e7d9c9
2 changed files with 20 additions and 4 deletions
|
@ -69,6 +69,7 @@
|
||||||
("/package\\.json$" "__package.json" json-mode)
|
("/package\\.json$" "__package.json" json-mode)
|
||||||
("/bower\\.json$" "__bower.json" json-mode)
|
("/bower\\.json$" "__bower.json" json-mode)
|
||||||
("/gulpfile\\.js$" "__gulpfile.js" js-mode)
|
("/gulpfile\\.js$" "__gulpfile.js" js-mode)
|
||||||
|
("/webpack\\.config\\.js$" "__webpack.config.js" js-mode)
|
||||||
("\\.lbaction/.+/Info.plist$" "__Info.plst" lb6-mode)
|
("\\.lbaction/.+/Info.plist$" "__Info.plst" lb6-mode)
|
||||||
("\\.lbaction/.+/\\(default\\|suggestions\\)\\.js$" "__default.js" lb6-mode)
|
("\\.lbaction/.+/\\(default\\|suggestions\\)\\.js$" "__default.js" lb6-mode)
|
||||||
;; Lua
|
;; 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: []
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue