Skip to content

Where is the dependences? #12

Description

@liudonghua123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions