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`,
|
input: `compiled/index.js`,
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
file: `dist/index.${env}.js`,
|
dir: 'dist',
|
||||||
name: libraryName,
|
name: libraryName,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
strict: false,
|
strict: false,
|
||||||
exports: 'named',
|
exports: 'named',
|
||||||
|
chunkFileNames: `[name].${env}.js`,
|
||||||
globals: {
|
globals: {
|
||||||
react: 'React',
|
react: 'React',
|
||||||
'prop-types': 'PropTypes',
|
'prop-types': 'PropTypes',
|
||||||
|
Loading…
Reference in New Issue
Block a user