Skip to content

Commit 84e78df

Browse files
committed
fix(bindgen): remove rollup configurations
Replaced by tsc.
1 parent 40c5d62 commit 84e78df

File tree

3 files changed

+0
-84
lines changed

3 files changed

+0
-84
lines changed

src/bindgen/typescript/resources/rollup.browser.config.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/bindgen/typescript/resources/rollup.node.config.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/bindgen/typescript/write-support-files.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,10 @@ function writeSupportFiles(outputDir, forNode, bindgenResource, packageName, pac
6161
const demoJsUtilities = path.join(outputDir, 'test', 'browser', 'demo-app', 'utilities.js')
6262
writeIfOverrideNotPresent(demoJsUtilities, fs.readFileSync(bindgenResource(path.join('demo-app', 'utilities.js')), { encoding: 'utf8', flag: 'r' }))
6363

64-
const rollupConfigPath = path.join(outputDir, 'build', 'rollup.browser.config.js')
65-
if (!fs.existsSync(rollupConfigPath)) {
66-
fs.copyFileSync(bindgenResource('rollup.browser.config.js'), rollupConfigPath)
67-
}
68-
6964
const viteConfigPath = path.join(outputDir, 'build', 'vite.config.js')
7065
if (!fs.existsSync(viteConfigPath)) {
7166
fs.copyFileSync(bindgenResource('vite.config.js'), viteConfigPath)
7267
}
73-
} else {
74-
const rollupConfigPath = path.join(outputDir, 'build', 'rollup.node.config.js')
75-
if (!fs.existsSync(rollupConfigPath)) {
76-
fs.copyFileSync(bindgenResource('rollup.node.config.js'), rollupConfigPath)
77-
}
7868
}
7969

8070
const tsConfigPath = path.join(outputDir, 'tsconfig.json')

0 commit comments

Comments
 (0)