mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
rollup.config and gui files updated to prevent duplicate injections
This commit is contained in:
parent
19c4725d03
commit
3b471ba602
@ -44,7 +44,7 @@ export default {
|
|||||||
sass({
|
sass({
|
||||||
insert: true,
|
insert: true,
|
||||||
output: 'build/dat.gui.css',
|
output: 'build/dat.gui.css',
|
||||||
options: {outputStyle: 'compressed'}
|
options: { outputStyle: 'compressed' }
|
||||||
}),
|
}),
|
||||||
babel({
|
babel({
|
||||||
plugins: ['external-helpers'],
|
plugins: ['external-helpers'],
|
||||||
|
@ -27,7 +27,7 @@ import common from '../utils/common';
|
|||||||
|
|
||||||
import styleSheet from './style.scss'; // CSS to embed in build
|
import styleSheet from './style.scss'; // CSS to embed in build
|
||||||
|
|
||||||
css.inject(styleSheet);
|
// css.inject(styleSheet);
|
||||||
|
|
||||||
/** @ignore Outer-most className for GUI's */
|
/** @ignore Outer-most className for GUI's */
|
||||||
const CSS_NAMESPACE = 'dg';
|
const CSS_NAMESPACE = 'dg';
|
||||||
|
Loading…
Reference in New Issue
Block a user