
I can only see the actual application under /public .
The configurations in webpack.config.js are given below:
var path = require('path'); var webpack = require('webpack'); module.exports = { entry: [ 'webpack-dev-server/client?http://localhost:8080', 'webpack/hot/only-dev-server', './app/js/App.js' ], output: { path: path.join(__dirname, 'public'), filename: 'bundle.js', publicPath: 'http://localhost:8080' }, module: { loaders: [ { test: /\.js$/, loaders: ['react-hot', 'babel-loader'], exclude: /node_modules/ } ] }, plugins: [ new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin() ] };
Project Hierarchy:
application
node_modules
public
bundle.js
index.html
package.json
webpack.config.js
How can I change to make sure that the http://localhost:8080/ entry for the application is on its own?
Jason Lam Oct 28 '15 at 3:40 2015-10-28 03:40
source share