Skip to content

Commit 9cd2565

Browse files
committed
Added new SHADER_REQUIRE
1 parent 445439e commit 9cd2565

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

webpack.dist.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ module.exports = {
5555

5656
plugins: [
5757
new webpack.DefinePlugin({
58-
CANVAS_RENDERER: JSON.stringify(true),
59-
WEBGL_RENDERER: JSON.stringify(true)
58+
"typeof SHADER_REQUIRE": JSON.stringify(false),
59+
"typeof CANVAS_RENDERER": JSON.stringify(true),
60+
"typeof WEBGL_RENDERER": JSON.stringify(true)
6061
}),
6162

6263
new CleanWebpackPlugin([ 'dist' ])

0 commit comments

Comments
 (0)