Merge branch 'conventional-webpack' into 'develop'

Use conventional Webpack config file

See merge request soapbox-pub/soapbox-fe!766
This commit is contained in:
Alex Gleason 2021-09-17 16:49:25 +00:00
commit 8cfc2f9d2d
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -11,3 +11,4 @@ yarn-error.log*
/static/ /static/
/static-test/ /static-test/
/public/ /public/
/dist/

View file

@ -16,9 +16,9 @@
"url": "https://gitlab.com/soapbox-pub/soapbox-fe/-/issues" "url": "https://gitlab.com/soapbox-pub/soapbox-fe/-/issues"
}, },
"scripts": { "scripts": {
"start": "npx webpack-dev-server --config webpack", "start": "npx webpack-dev-server",
"dev": "${npm_execpath} run start", "dev": "${npm_execpath} run start",
"build": "npx webpack --config webpack", "build": "npx webpack",
"jsdoc": "npx jsdoc -c jsdoc.conf.js", "jsdoc": "npx jsdoc -c jsdoc.conf.js",
"manage:translations": "node ./webpack/translationRunner.js", "manage:translations": "node ./webpack/translationRunner.js",
"test": "${npm_execpath} run test:lint && ${npm_execpath} run test:jest", "test": "${npm_execpath} run test:lint && ${npm_execpath} run test:jest",