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