Skip to content

Commit

Permalink
chore(deps): update build (major) (vuejs#9238)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <[email protected]>
  • Loading branch information
renovate[bot] and sxzz authored Sep 20, 2023
1 parent 6d14fa8 commit c651d73
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 41 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"devDependencies": {
"@babel/parser": "^7.21.3",
"@babel/types": "^7.21.3",
"@rollup/plugin-alias": "^4.0.4",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
Expand Down Expand Up @@ -91,8 +91,8 @@
"pug": "^3.0.2",
"puppeteer": "~21.2.1",
"rollup": "^3.29.2",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-esbuild": "^6.0.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"semver": "^7.5.4",
"serve": "^14.2.1",
Expand Down
96 changes: 69 additions & 27 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,6 @@ function createConfig(format, output, plugins = []) {
return nodePlugins
}

/** @satisfies {import('esbuild').TsconfigRaw} */
const tsconfigRaw = {
compilerOptions: {
useDefineForClassFields: false
}
}

return {
input: resolve(entryFile),
// Global and Browser ESM builds inlines everything so that they can be
Expand All @@ -299,9 +292,7 @@ function createConfig(format, output, plugins = []) {
sourceMap: output.sourcemap,
minify: false,
target: isServerRenderer || isNodeBuild ? 'es2019' : 'es2015',
define: resolveDefine(),
// @ts-expect-error
tsconfigRaw
define: resolveDefine()
}),
...resolveNodePlugins(),
...plugins
Expand Down

0 comments on commit c651d73

Please sign in to comment.