mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
chore: fix mixin and external mod (#1817)
* chore: fix mixin and external mod * chore: add back to root * chore: add systemjs build of stardust * chore: trigger diff * fix: remove typo import
This commit is contained in:
@@ -7,7 +7,6 @@ const json = require('@rollup/plugin-json');
|
||||
const { nodeResolve } = require('@rollup/plugin-node-resolve');
|
||||
const commonjs = require('@rollup/plugin-commonjs');
|
||||
const terser = require('@rollup/plugin-terser');
|
||||
const jsxPlugin = require('@babel/plugin-transform-react-jsx');
|
||||
const babelPreset = require('@babel/preset-env');
|
||||
const { visualizer } = require('rollup-plugin-visualizer');
|
||||
const browsersList = require('@qlik/browserslist-config');
|
||||
@@ -153,7 +152,7 @@ const config = ({
|
||||
},
|
||||
},
|
||||
],
|
||||
[babelPresetReact],
|
||||
[babelPresetReact, { runtime: 'automatic' }],
|
||||
];
|
||||
|
||||
if (typescript) {
|
||||
@@ -195,6 +194,7 @@ const config = ({
|
||||
postcss({
|
||||
exclude: /\.module\.css$/,
|
||||
}),
|
||||
// Handle all CSS with conditional modules processing
|
||||
postcss({
|
||||
include: /\.module\.css$/,
|
||||
modules: true,
|
||||
@@ -204,7 +204,6 @@ const config = ({
|
||||
ignoreTryCatch: false, // Avoids problems with require() inside try catch (https://github.com/rollup/plugins/issues/1004)
|
||||
}),
|
||||
json(),
|
||||
// Handle all CSS with conditional modules processing
|
||||
|
||||
babel({
|
||||
babelHelpers: 'bundled',
|
||||
@@ -212,7 +211,6 @@ const config = ({
|
||||
inputSourceMap: sourcemap,
|
||||
extensions,
|
||||
presets: babelPresets,
|
||||
plugins: [[jsxPlugin]],
|
||||
}),
|
||||
...[
|
||||
mode === 'production'
|
||||
|
||||
@@ -6,6 +6,7 @@ const systemjsBehaviours = {
|
||||
'picasso-plugin-q',
|
||||
'react',
|
||||
'react-dom',
|
||||
'@qlik-trial/sprout-css-modules',
|
||||
/^(?!@qlik-trial\/qmfe-data-client-parcels)(@qlik-trial\/qmfe-)/,
|
||||
];
|
||||
const { external } = cfg.systemjs || {};
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
"dependencies": {
|
||||
"@babel/cli": "7.28.3",
|
||||
"@babel/core": "7.28.4",
|
||||
"@babel/plugin-transform-react-jsx": "7.27.1",
|
||||
"@babel/preset-env": "7.28.3",
|
||||
"@babel/preset-react": "7.27.1",
|
||||
"@babel/preset-typescript": "7.27.1",
|
||||
|
||||
Reference in New Issue
Block a user