You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to rollup a number of js files and output to a single file with given name. I have the following rollup.config.js which works fine. The output file is built into the build folder, but it has the name multi-entry.js.
import { createBasicConfig } from '@open-wc/building-rollup';
import dynamicImportVars from '@rollup/plugin-dynamic-import-vars';
import merge from 'deepmerge';
import multi from '@rollup/plugin-multi-entry';
const baseConfig = createBasicConfig({
developmentMode: false,
outputDir: "build"
});
export default merge(baseConfig, {
input: ['src/*.js'],
plugins: [
multi(),
dynamicImportVars(),
],
});
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to rollup a number of js files and output to a single file with given name. I have the following rollup.config.js which works fine. The output file is built into the build folder, but it has the name multi-entry.js.
I have tried many variations such as:
This creates multi-entry.js in dist folder.
This creates multi-entry.js in build folder.
This creates multi-entry.js in build folder.
Any pointers?
Beta Was this translation helpful? Give feedback.
All reactions