updated npm, added clean webpack
This commit is contained in:
parent
2aee4aed9a
commit
14fb7788d7
8
README.md
Normal file
8
README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
sarsoo.xyz
|
||||||
|
===============
|
||||||
|
|
||||||
|
### back end
|
||||||
|
python flask web server
|
||||||
|
|
||||||
|
### front end
|
||||||
|
couple of react elements, currently the dev page
|
1231
package-lock.json
generated
1231
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
@ -19,15 +19,16 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/Sarsoo/sarsoo.xyz#readme",
|
"homepage": "https://github.com/Sarsoo/sarsoo.xyz#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.4.4",
|
"@babel/cli": "^7.5.5",
|
||||||
"@babel/core": "^7.4.5",
|
"@babel/core": "^7.5.5",
|
||||||
"@babel/preset-env": "^7.4.5",
|
"@babel/preset-env": "^7.5.5",
|
||||||
"@babel/preset-react": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-loader": "^8.0.6",
|
"babel-loader": "^8.0.6",
|
||||||
|
"clean-webpack-plugin": "^3.0.0",
|
||||||
"css-loader": "^2.1.1",
|
"css-loader": "^2.1.1",
|
||||||
"style-loader": "^0.23.1",
|
"style-loader": "^0.23.1",
|
||||||
"webpack": "^4.32.2",
|
"webpack": "^4.37.0",
|
||||||
"webpack-cli": "^3.3.2",
|
"webpack-cli": "^3.3.6",
|
||||||
"webpack-merge": "^4.2.1"
|
"webpack-merge": "^4.2.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
{% block title %}home{% endblock %}
|
{% block title %}home{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
|
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
@ -19,6 +20,9 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
plugins: [
|
||||||
|
new CleanWebpackPlugin()
|
||||||
|
],
|
||||||
resolve: { extensions: ["*", ".js", ".jsx"] },
|
resolve: { extensions: ["*", ".js", ".jsx"] },
|
||||||
output: {
|
output: {
|
||||||
filename: '[name].bundle.js',
|
filename: '[name].bundle.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user