Building virtual reality experiences with A-Frame and React with aframe-react.
To get started:
npm install
npm start
In order to support minify ES6 code, replace webpack.optimize.UglifyJsPlugin
in node_modules/react-scripts/config/webpack.config.prod.js
Line:294
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
// ...
new UglifyJsPlugin({
uglifyOptions: {
compress: {
warnings: false,
comparisons: false,
},
mangle: {
safari10: true,
},
output: {
comments: false,
ascii_only: true,
}
},
sourceMap: shouldUseSourceMap,
})