mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
grafana/ui: Do not build in strict mode as grafana/ui depends on non-strict libs (#21319)
This commit is contained in:
parent
534e343c71
commit
41fd265c64
@ -16,6 +16,7 @@ const buildCjsPackage = ({ env }) => {
|
||||
name: libraryName,
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
strict: false,
|
||||
exports: 'named',
|
||||
globals: {
|
||||
react: 'React',
|
||||
@ -23,7 +24,7 @@ const buildCjsPackage = ({ env }) => {
|
||||
},
|
||||
},
|
||||
],
|
||||
external: ['react', 'react-dom', '@grafana/data'],
|
||||
external: ['react', 'react-dom', '@grafana/data', 'moment'],
|
||||
plugins: [
|
||||
commonjs({
|
||||
include: /node_modules/,
|
||||
|
Loading…
Reference in New Issue
Block a user