Skip to content

Commit

Permalink
chore: extract css from umd bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
anuradha9712 committed Nov 24, 2024
1 parent 731d812 commit e63e0d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const umdPlugins = [
modules: {
generateScopedName: (name) => name, // Use the original class name
},
extract: true,
extensions: ['.css', '.scss', '.sass'],
}),
uglify(),
Expand Down Expand Up @@ -244,4 +245,4 @@ const gzipConfig = {
},
};

export default [jsUmdConfig, jsCjsConfig, jsEsmConfig, tsConfig, brotliConfig, gzipConfig];
export default [jsUmdConfig, jsCjsConfig, jsEsmConfig, brotliConfig, gzipConfig];

0 comments on commit e63e0d2

Please sign in to comment.