Added FBIG Plugin and Experimental build flag

This commit is contained in:
Richard Davey 2018-08-23 18:09:37 +01:00
parent 1d4b2ed01a
commit 8af23472ed
2 changed files with 6 additions and 2 deletions

View file

@ -30,7 +30,9 @@ module.exports = {
new webpack.DefinePlugin({
"typeof CANVAS_RENDERER": JSON.stringify(true),
"typeof WEBGL_RENDERER": JSON.stringify(true),
"typeof PLUGIN_CAMERA3D": JSON.stringify(false)
"typeof EXPERIMENTAL": JSON.stringify(false),
"typeof PLUGIN_CAMERA3D": JSON.stringify(false),
"typeof PLUGIN_FBINSTANT": JSON.stringify(false)
}),
{
apply: (compiler) => {

View file

@ -50,7 +50,9 @@ module.exports = {
new webpack.DefinePlugin({
"typeof CANVAS_RENDERER": JSON.stringify(true),
"typeof WEBGL_RENDERER": JSON.stringify(true),
"typeof PLUGIN_CAMERA3D": JSON.stringify(false)
"typeof EXPERIMENTAL": JSON.stringify(false),
"typeof PLUGIN_CAMERA3D": JSON.stringify(false),
"typeof PLUGIN_FBINSTANT": JSON.stringify(false)
}),
new CleanWebpackPlugin([ 'dist' ])