Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the dependences? #12

Open
liudonghua123 opened this issue Apr 27, 2023 · 0 comments
Open

Where is the dependences? #12

liudonghua123 opened this issue Apr 27, 2023 · 0 comments

Comments

@liudonghua123
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant