|
@@ -275,6 +275,21 @@ ${ code }`;
|
|
}
|
|
}
|
|
|
|
|
|
export default [
|
|
export default [
|
|
|
|
+ {
|
|
|
|
+ input: 'src/Three.js',
|
|
|
|
+ plugins: [
|
|
|
|
+ addons(),
|
|
|
|
+ glconstants(),
|
|
|
|
+ glsl(),
|
|
|
|
+ header()
|
|
|
|
+ ],
|
|
|
|
+ output: [
|
|
|
|
+ {
|
|
|
|
+ format: 'esm',
|
|
|
|
+ file: 'build/three.module.js'
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
input: 'src/Three.js',
|
|
input: 'src/Three.js',
|
|
plugins: [
|
|
plugins: [
|
|
@@ -320,20 +335,5 @@ export default [
|
|
file: 'build/three.min.js'
|
|
file: 'build/three.min.js'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- },
|
|
|
|
- {
|
|
|
|
- input: 'src/Three.js',
|
|
|
|
- plugins: [
|
|
|
|
- addons(),
|
|
|
|
- glconstants(),
|
|
|
|
- glsl(),
|
|
|
|
- header()
|
|
|
|
- ],
|
|
|
|
- output: [
|
|
|
|
- {
|
|
|
|
- format: 'esm',
|
|
|
|
- file: 'build/three.module.js'
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
}
|
|
}
|
|
];
|
|
];
|