Open liudonghua123 opened 1 year ago
It seems this project use three.js, but I look through the package.json and could not find the dependences.
I tried to build the project, however some warnings/errors appeared.
D:\code\node\the-cube>yarn build yarn run v1.22.17 $ rollup -c rollup.config.build.js && cp upup.min.js export/ && cp upup.sw.min.js export/ && cp index.html export/ && cp -R assets export/ (!) You have passed an unrecognized option Unknown output options: sourceMap. Allowed options: amd, assetFileNames, banner, chunkFileNames, compact, dir, dynamicImportFunction, entryFileNames, esModule, exports, extend, externalLiveBindings, file, footer, format, freeze, generatedCode, globals, hoistTransitiveImports, indent, inlineDynamicImports, interop, intro, manualChunks, minifyInternalExports, name, namespaceToStringTag, noConflict, outro, paths, plugins, preferConst, preserveModules, preserveModulesRoot, sanitizeFileName, sourcemap, sourcemapExcludeSources, sourcemapFile, sourcemapPathTransform, strict, systemNullSetters, validate ./src/js/Game.js → ./assets/js/cube.js... created ./assets/js/cube.js in 345ms Done in 1.89s. D:\code\node\the-cube>
Maybe the code need to refactor or update to use the modern build/bundler tools.
It seems this project use three.js, but I look through the package.json and could not find the dependences.
I tried to build the project, however some warnings/errors appeared.
Maybe the code need to refactor or update to use the modern build/bundler tools.