Add initial journal app with library menu on left
This commit is contained in:
parent
eea2940738
commit
c5c75efc23
13 changed files with 838 additions and 0 deletions
29
webpack.config.js
Normal file
29
webpack.config.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
var path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: './app/main.jsx',
|
||||
output: {
|
||||
path: __dirname + "/dist",
|
||||
filename: "bundle.js",
|
||||
sourceMapFilename: 'bundle.map'
|
||||
},
|
||||
target: 'node',
|
||||
//devtool: 'source-map',
|
||||
module:{
|
||||
loaders: [
|
||||
{
|
||||
test: /\.jsx?$/,
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
loader: 'babel',
|
||||
query: {presets: ['react', 'es2015', 'stage-0',
|
||||
'stage-1', 'stage-2', 'stage-3']}
|
||||
}
|
||||
]
|
||||
},
|
||||
resolve:{
|
||||
extensions: ['', '.js', '.jsx'],
|
||||
root: [
|
||||
path.resolve('./app/modules')
|
||||
]
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue