-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i ?wds?: Project is running at http://localhost:8080/ #1359
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code
C:\IdessignFlo>npm run dev
i ?wds?: Project is running at http://localhost:8080/
i ?wds?: webpack output is served from /
i ?wds?: Content not from webpack is served from C:\IdessignFlo\build
i ?wdm?: Hash: 5c9070ccd45373929456
Version: webpack 4.4.1
Time: 2611ms
Built at: 2018-3-31 19:22:49
Asset Size Chunks Chunk Names
[idessign].bundle.js 1.19 MiB main [emitted] main
index.html 193 bytes [emitted]
Entrypoint main = [idessign].bundle.js
[./node_modules/create-react-class/index.js] 699 bytes {main} [built]
[./node_modules/history/es/index.js] 460 bytes {main} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {main} [built]
[./node_modules/react-router-dom/es/index.js] 925 bytes {main} [built]
[./node_modules/react/index.js] 190 bytes {main} [built]
[./node_modules/url/url.js] 22.8 KiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 7.75 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.58 KiB {main} [built]
[./node_modules/webpack-dev-server/node_modules/strip-ansi/index.js] (webpack)-dev-server/node_modules/strip-ansi/index.js 161 bytes {main} [built]
[0] multi (webpack)-dev-server/client?http://localhost:8080 ./src/client/index.js 40 bytes {main} [built]
[./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {main} [built]
[./src/client/index.js] 1.5 KiB {main} [built]
[./src/shared/app/home/home.js] 782 bytes {main} [built]
[./src/shared/component.js] 76 bytes {main} [built]
+ 85 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/html-webpack-plugin/default_index.ejs] 538 bytes {0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 519 bytes {0} [built]
i ?wdm?: Compiled successfully.
// webpack.config.js
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const HTMPlugin = require('html-webpack-plugin');
const path = require('path');
const CLIENT = path.resolve(__dirname, './src/');
const BUILD_DIR = path.resolve(__dirname, './src/build/');
const browserConfig = {
entry: CLIENT + "/client/index.js",
output:{
path:BUILD_DIR,
// path: path.resolve(__dirname, 'dist'),
filename:'[idessign].bundle.js',
//publicPath:BUILD_DIR,
},
devServer: {
contentBase: path.resolve(__dirname, 'build')
},
module:{
rules:[
{
test: /.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
// presets: ['es2015'],
presets:[ 'react', 'es2015'],
}
},
]
},
plugins:[
new HTMPlugin()
]
};
const serverConfig = {
entry: CLIENT + '/server/server.js',
output:{
path:BUILD_DIR,
filename:'[servers].bundle.js'
},
target: 'node',
node: {
__dirname: false,
__filename: false
},
module:{
rules:[
{
test: /.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
presets: ['es2015'],
}
},
},
plugins:[
new HTMPlugin()
]
};
module.exports = browserConfig,
exports.serverConfig = serverConfig;
// additional code, remove if not needed.
Expected Behavior
I do not know where index.html
Actual Behavior
i want to see where live index.html
For Bugs; How can we reproduce the behavior?
For Features; What is the motivation and/or use-case for the feature?
I need to see index.html
The text was updated successfully, but these errors were encountered: