3 results for CommonJS
develwoutacause’s Twitter Archive—№ 85
The flag I needed was: commonjs({ extensions: [".js", ".ts"], }) Apparently using thetypescript() plugin first doesn't just convert everything to *.js files. Even commonjs() needs to know you're using #TypeScript
develwoutacause’s Twitter Archive—№ 129
compiler) cannot output #JavaScript using ES modules. You're forced into #CommonJS (or #Closure modules), which necessitates the use of a bundler for a browser extension which (surprisingly) would not need
develwoutacause’s Twitter Archive—№ 83
pet project and wanted to use #TypeScript but had a #CommonJS dependency. I just spent the last **two hours** with #Rollup unsuccessfully trying to get a build which just **imports**