Packages

Library which provides an easy way to use React and Phoenix framework.

Current section

Files

Jump to
phoenix_reactor priv webpack.config.js
Raw

priv/webpack.config.js

var path = require('path');
module.exports = {
entry: "./web/static/js/app.js",
output: {
path: path.resolve(__dirname, "./priv/static/js"),
filename: "app.js"
},
module: {
loaders: [
{test: /\.js$/, exclude: /node_modules/, loader: "babel-loader"}
]
}
};