Compare commits
No commits in common. "7ce3c941355a6a95af786017829bd0e6d4c612da" and "ab04fdf76a34d1b509b5425723dd2f520fecd75f" have entirely different histories.
7ce3c94135
...
ab04fdf76a
|
@ -1 +0,0 @@
|
|||
node_modules
|
10
package.json
10
package.json
|
@ -3,13 +3,5 @@
|
|||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"author": "blek",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"webpack": "^5.80.0",
|
||||
"webpack-cli": "^5.0.1",
|
||||
"webpack-dev-server": "^4.13.3"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "webpack serve --mode development"
|
||||
}
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head></head>
|
||||
|
||||
<body>
|
||||
<div id="is-a-dev-root"></div>
|
||||
<script src="bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +0,0 @@
|
|||
alert('hi webpack')
|
|
@ -1,15 +0,0 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: path.resolve(__dirname, './src/index.js'),
|
||||
output: {
|
||||
path: path.resolve(__dirname, './public'),
|
||||
filename: 'bundle.js'
|
||||
},
|
||||
devServer: {
|
||||
static: path.resolve(__dirname, './public'),
|
||||
port: process.env.APP_PORT || 8080,
|
||||
host: '0.0.0.0',
|
||||
allowedHosts: 'all'
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue