mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
grafana-ui: Make output chunks correct (#25922)
This commit is contained in:
parent
38cb3f2cb2
commit
6eabe6c29f
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user