grafana-ui: Make output chunks correct (#25922)
This commit is contained in:
@@ -13,12 +13,13 @@ const buildCjsPackage = ({ env }) => {
|
||||
input: `compiled/index.js`,
|
||||
output: [
|
||||
{
|
||||
file: `dist/index.${env}.js`,
|
||||
dir: 'dist',
|
||||
name: libraryName,
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
strict: false,
|
||||
exports: 'named',
|
||||
chunkFileNames: `[name].${env}.js`,
|
||||
globals: {
|
||||
react: 'React',
|
||||
'prop-types': 'PropTypes',
|
||||
|
||||
Reference in New Issue
Block a user