代码拉取完成,页面将自动刷新
This directory servers as minimal reproducible configuration for build with various bundlers.
Run npm install && npm run build
, and then:
npm run build:webpack:cjs
- Run Webpack config as CommonJS modulenpm run build:rollup:cjs
- Run Rollup config as CommonJS modulenpm run build:esbuild:cjs
- Run esbuild build as CommonJS modulenpm run build:browserify:cjs
- Run Browserify build as CommonJS modulenpm run build:webpack:esm
- Run Rollup config as ES modulenpm run build:rollup:esm
- Run Rollup config as ES modulenpm run build:esbuild:esm
- Run esbuild build as ES modulenpm run build:browserify:esm
- Run Browserify build as ES modulenpm run open:webpack:cjs
- Open generated bundle from Webpack CommonJS
configurationnpm run open:rollup:cjs
- Open generated bundle from Rollup CommonJS
configurationnpm run open:esbuild:cjs
- Open generated bundle from esbuild CommonJS
buildnpm run open:browserify:cjs
- Open generated bundle from Browserify
CommonJS buildnpm run open:webpack:esm
- Open generated bundle from Webpack ES module
configurationnpm run open:rollup:esm
- Open generated bundle from Rollup ES module
configurationnpm run open:esbuild:esm
- Open generated bundle from esbuild ES module
buildnpm run open:browserify:esm
- Open generated bundle from Browserify ES
module buildIn each opened HTML file you can see each module output inside browser console.
Each module is accessible from stdLibBrowser
global property.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。