Commit 41fd265c by Dominik Prokop Committed by GitHub

grafana/ui: Do not build in strict mode as grafana/ui depends on non-strict libs (#21319)

parent 534e343c
......@@ -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/,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment