Skip to content

Commit

Permalink
perf: add nodeResolve to rollup.config
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-mota committed Nov 12, 2024
1 parent fcf1d01 commit ff8e458
Show file tree
Hide file tree
Showing 3 changed files with 230 additions and 18 deletions.
121 changes: 113 additions & 8 deletions demo/api.min.js

Large diffs are not rendered by default.

121 changes: 113 additions & 8 deletions demo/index.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const indexExamplesConfig = {
output: {
format: 'esm',
dir: 'demo/'
}
},
plugins: [nodeResolve()],
};

const apExamplesConfig = {
Expand All @@ -38,7 +39,8 @@ const apExamplesConfig = {
output: {
format: 'esm',
dir: 'demo/'
}
},
plugins: [nodeResolve()],
};

export default [modernConfig, indexExamplesConfig, apExamplesConfig];

0 comments on commit ff8e458

Please sign in to comment.