I'm having an error that makes absolutely no sense. I haven't run rollup -c in about an month and running it now is causing all sorts of mayhem.  1) mootools already loaded  Why on earth is mootools already loaded in the log of this error? Wh...
I'm getting started with Rollup and D3 version 4, which is written in ES2015 modules. I've written a some code using the traditional D3 namespace "d3". Now I want to create a custom bundle using Rollup. I want to using tree-shaking, b...
I'm trying to bundle my typescript files RollUp (https://rollupjs.org/) I used this configuration files:      rollup.config.js:  import alias from 'rollup-plugin-alias'; import resolve from 'rollup-plugin-node-resolve'; import typ...
hello rollup experts   i have a single react component and a store that are using the same import   //file: ProfileStore.js  import ProfilesActions from './ProfilesActions.js' ....   --  //file: Component.js  import ProfilesStore from '.....
How do I have to configure rollup.js (=> config file "rollup.config.js") if all dependencies should be embedded into the (fat) result bundle (especially: how to configure the rollup parameters "globals", "external", "pl...
I'm currently creating a bower package that exports a single ES6 module.  When building the dist for my package, I'm using rollup to move all my internal modules into a single module, exporting only the one module.  Gulp task:  // Bundle ES6...
Suppose we create a typescript class with two static methods:  export class Utilities {       static methodFoo() { return 'foo'}       static methodBoo() { return 'boo'} }    Later someone imports our class from the npm package @scope...
I am using rollup.js to transpile the module dependencies from a file 'main.js'  rollup main.js   Is there a watch option to rerun the transpilation when a source file changes...
I have a Node.js app with all modules written in CommonJS and some using es6 features such as generators, let, const etc. And this all works fine as is.  I want to bundle all these files into one file and then uglify that. My best guess at the necess...
I try to use JS ES modules with a fallback bundle, generated by rollup.js.  Standard imports are no problem. But I have an issue with dynamic imports.  I uploaded the full example of the setup here: https://www.file-upload.net/download-13588759/gulp-...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.