Skip to content
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

Update build scripts to work with exports #5708

Merged
merged 5 commits into from
Nov 8, 2021
Merged
Changes from 1 commit
Commits
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
use the same name in all places
  • Loading branch information
Feiyang1 committed Nov 6, 2021
commit 3f22cb1e5f67255e1128a04d30d5e13444f53762
2 changes: 1 addition & 1 deletion packages/app-compat/package.json
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
"module": "dist/esm/index.esm2017.js",
"esm5": "dist/esm/index.esm5.js",
"lite": "dist/index.lite.js",
"lite-esm5": "dist/index.lite.esm5.js",
"liteesm5": "dist/index.lite.esm5.js",
"exports": {
".": {
"require": "./dist/index.cjs.js",
2 changes: 1 addition & 1 deletion packages/app-compat/rollup.config.js
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ const esmBuilds = [
{
input: 'src/index.lite.ts',
output: {
file: pkg['lite-esm5'],
file: pkg['liteesm5'],
format: 'es',
sourcemap: true
},