rollup.config and gui files updated to prevent duplicate injections

This commit is contained in:
alirezakazemeini 2023-06-27 19:33:58 +03:30
parent 19c4725d03
commit 3b471ba602
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export default {
sass({
insert: true,
output: 'build/dat.gui.css',
options: {outputStyle: 'compressed'}
options: { outputStyle: 'compressed' }
}),
babel({
plugins: ['external-helpers'],

View File

@ -27,7 +27,7 @@ import common from '../utils/common';
import styleSheet from './style.scss'; // CSS to embed in build
css.inject(styleSheet);
// css.inject(styleSheet);
/** @ignore Outer-most className for GUI's */
const CSS_NAMESPACE = 'dg';