Skip to content

Commit

Permalink
Create dev and build env
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed May 13, 2016
1 parent 69dbc7b commit c905539
Show file tree
Hide file tree
Showing 7 changed files with 19,907 additions and 29 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["es2015", "stage-0"],
"comments": false
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# fakerator
Fake data generator for Javascript
> Random data generator with localization
29 changes: 29 additions & 0 deletions config/webpack.dev.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
var path = require('path');
var webpack = require('webpack');

module.exports = {
entry: {
fakerator: path.resolve('demo', 'index.js')
},

target: 'node',

output: {
path: path.resolve('demo'),
filename: '[name].js'
},

plugins: [
],

module: {
loaders: [
{
"test": /\.js?$/,
"exclude": /node_modules/,
"loader": "babel"
}
]
}

};
Loading

0 comments on commit c905539

Please sign in to comment.