Skip to content

Use ESM #5396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Sep 20, 2021
Merged

Use ESM #5396

Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1f81f14
upgrade remark-emoji
chenxsan Sep 1, 2021
fe09805
remove WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG
chenxsan Sep 1, 2021
ffef4e2
migrate build-content-tree
chenxsan Sep 1, 2021
66b0bbd
fix import
chenxsan Sep 1, 2021
0391896
use mjs
chenxsan Sep 1, 2021
1943898
read json
chenxsan Sep 1, 2021
d060bd0
use mjs
chenxsan Sep 2, 2021
22c3dbd
fix __dirname
chenxsan Sep 2, 2021
2fe4e52
fix __dirname
chenxsan Sep 2, 2021
84e7546
fix lodash
chenxsan Sep 2, 2021
d7e27cd
fix __dirname
chenxsan Sep 2, 2021
d0a772e
fix __dirname
chenxsan Sep 2, 2021
eb2775d
upgrade remark
chenxsan Sep 2, 2021
55cf66c
fix import
chenxsan Sep 2, 2021
7a48304
upgrade remark-html
chenxsan Sep 2, 2021
88d9713
upgrade remark-gfm
chenxsan Sep 2, 2021
4083e62
Revert "upgrade remark-gfm"
chenxsan Sep 2, 2021
e967f64
upgrade remark-autolink-headings
chenxsan Sep 2, 2021
87e1470
update remark-slug
chenxsan Sep 2, 2021
17fb0af
upgrade unist-util-visit
chenxsan Sep 2, 2021
638e832
clean up
chenxsan Sep 2, 2021
573e33b
fix extension
chenxsan Sep 2, 2021
7a3554e
upgrade remark-gfm
chenxsan Sep 2, 2021
40d5f50
Revert "upgrade remark-gfm"
chenxsan Sep 3, 2021
1b6e52d
Merge branch 'master' into feature/use-esm
chenxsan Sep 3, 2021
3314bde
fix __dirname
chenxsan Sep 3, 2021
2ae4352
fix __dirname
chenxsan Sep 3, 2021
50c0275
merge master
chenxsan Sep 4, 2021
f510565
Merge branch 'master' into feature/use-esm
chenxsan Sep 5, 2021
213ea9e
Merge branch 'master' into feature/use-esm
chenxsan Sep 8, 2021
9dd2bd2
Merge branch 'master' into feature/use-esm
chenxsan Sep 9, 2021
1b73e22
Merge branch 'master' into feature/use-esm
chenxsan Sep 10, 2021
d2440df
Merge branch 'master' into feature/use-esm
chenxsan Sep 11, 2021
4b99225
Merge branch 'master' into feature/use-esm
chenxsan Sep 14, 2021
2a1b973
Merge branch 'master' into feature/use-esm
chenxsan Sep 15, 2021
9bd9acf
Merge branch 'master' into feature/use-esm
chenxsan Sep 18, 2021
5d65ab4
fix tests for jest
chenxsan Sep 18, 2021
a5d4f13
docs(configuration): fix default value
chenxsan Sep 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG
  • Loading branch information
chenxsan committed Sep 1, 2021
commit fe09805d8858638c63c902f0d4009a646a74dfd4
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"clean-printable": "rimraf src/content/**/printable.mdx",
"preclean": "run-s clean-dist clean-printable",
"clean": "rimraf src/content/**/_*.mdx src/**/_*.json repositories/*.json",
"start": "npm run clean-dist && WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG=true webpack serve --config webpack.dev.mjs --env dev --progress --node-env development",
"start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --node-env development",
"content": "node src/scripts/build-content-tree.js ./src/content ./src/_content.json",
"bundle-analyze": "run-s clean fetch content && WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG=true webpack --config webpack.prod.mjs --node-env production && run-s printable content && WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG=true webpack --config webpack.ssg.mjs --node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.mjs --node-env production && run-s printable content && webpack --config webpack.ssg.mjs --node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"fetch-repos": "node src/utilities/fetch-package-repos.js",
"fetch": "run-p fetch:*",
"fetch:readmes": "node src/utilities/fetch-package-readmes.js",
"fetch:supporters": "node src/utilities/fetch-supporters.js",
"prebuild": "npm run clean",
"build": "run-s fetch-repos fetch content && WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG=true webpack --config webpack.prod.mjs --node-env production && run-s printable content && WEBPACK_CLI_FORCE_LOAD_ESM_CONFIG=true webpack --config webpack.ssg.mjs --node-env production --env ssg",
"build": "run-s fetch-repos fetch content && webpack --config webpack.prod.mjs --node-env production && run-s printable content && webpack --config webpack.ssg.mjs --node-env production --env ssg",
"postbuild": "npm run sitemap",
"build-test": "npm run build && http-server --port 4200 dist/",
"test": "npm run lint",
Expand Down