updated npm, added clean webpack

This commit is contained in:
aj 2019-07-25 10:05:19 +01:00
parent 2aee4aed9a
commit 14fb7788d7
5 changed files with 834 additions and 424 deletions

8
README.md Normal file
View 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

File diff suppressed because it is too large Load Diff

View File

@ -19,15 +19,16 @@
},
"homepage": "https://github.com/Sarsoo/sarsoo.xyz#readme",
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^2.1.1",
"style-loader": "^0.23.1",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack": "^4.37.0",
"webpack-cli": "^3.3.6",
"webpack-merge": "^4.2.1"
},
"dependencies": {

View File

@ -2,10 +2,6 @@
{% block title %}home{% endblock %}
{% block scripts %}
{% endblock %}
{% block content %}
<div class="row">

View File

@ -1,5 +1,6 @@
const path = require('path');
const webpack = require('webpack');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
module.exports = {
entry: {
@ -19,6 +20,9 @@ module.exports = {
}
]
},
plugins: [
new CleanWebpackPlugin()
],
resolve: { extensions: ["*", ".js", ".jsx"] },
output: {
filename: '[name].bundle.js',