mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 21:43:33 +01:00
Renamed webpack build script
This commit is contained in:
@@ -6,14 +6,14 @@ set -e
|
||||
function tests {
|
||||
npm run lint
|
||||
npm run test-docs
|
||||
VERSIONED=false npm run web-dist
|
||||
VERSIONED=false npm run webpack
|
||||
exit 0
|
||||
}
|
||||
|
||||
function build {
|
||||
npm run lint
|
||||
npm run docs
|
||||
VERSIONED=false npm run web-dist
|
||||
VERSIONED=false npm run webpack
|
||||
}
|
||||
|
||||
# For revert branches, do nothing
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
|
||||
"test-docs": "docgen --source src --custom docs/index.yml",
|
||||
"lint": "eslint src",
|
||||
"web-dist": "node ./node_modules/parallel-webpack/bin/run.js"
|
||||
"webpack": "parallel-webpack"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
ONLY RUN BUILDS WITH `npm run web-dist`!
|
||||
ONLY RUN BUILDS WITH `npm run webpack`!
|
||||
DO NOT USE NORMAL WEBPACK! IT WILL NOT WORK!
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user