Skip to content

Commit cda7846

Browse files
committed
refactor: build site
1 parent 00d33b8 commit cda7846

File tree

15 files changed

+430
-74615
lines changed

15 files changed

+430
-74615
lines changed

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,15 @@
1919
"homepage": "https://github.com/LingDong-/wenyan-lang",
2020
"scripts": {
2121
"build": "npm run clear && webpack --mode production",
22-
"build:dev": "npm run clear && webpack --mode development",
22+
"build:site": "webpack --mode development --config webpack.site.config.js",
23+
"dev:site": "webpack --mode development --config webpack.site.config.js --watch",
2324
"dev": "npm run clear && webpack --mode development --watch",
2425
"clear": "rimraf ./dist",
2526
"publish": "bump --commit && node ./tools/publish.js",
2627
"publish:ci": "node ./tools/publish.js",
2728
"release": "bump --commit --tag && git push --follow-tags",
2829
"docs:update": "node ./tools/stdlib_doc.js",
2930
"make_examples_readme": "node ./tools/make_examples_readme.js",
30-
"make_ide": "node ./tools/make_ide.js",
31-
"make_site": "node ./tools/make_site.js",
32-
"ide:dev": "nodemon --ignore build,dist ./tools/make_ide.js",
33-
"site:dev": "nodemon --ignore build,dist ./tools/make_site.js",
3431
"test": "mocha --require mocha-snapshots",
3532
"test:update": "mocha --require mocha-snapshots --update",
3633
"lint:fix": "npm run lint -- --fix",

site/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)