未验证 提交 c793e60c 编写于 作者: M Marco Fugaro 提交者: GitHub

Remove modularize script (#21587)

上级 157fd1c2
......@@ -5,7 +5,7 @@ It is assumed that you know a little about node.js and git. If not, [here's some
* Install [Node.js](https://nodejs.org/)
* Install [Git](https://git-scm.com/)
* [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) three.js
* [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) three.js
* Open your OS’s terminal
* Change into the directory you’d like
* Clone your forked repo
......@@ -13,7 +13,7 @@ It is assumed that you know a little about node.js and git. If not, [here's some
git clone https://github.com/[yourgithubname]/three.js.git
* Go into the three.js directory.
cd ./three.js
* Install the dependencies
......@@ -39,7 +39,7 @@ Many linting errors can be fixed automatically by running
npm lint-fix
If you’d like to make a minified version of the build files i.e. ‘build/three.min.js’ run:
npm run build
## Making changes
......@@ -47,12 +47,12 @@ If you’d like to make a minified version of the build files i.e. ‘build/thre
When you’ve decided to make changes, start with the following:
* Update your local repo
git pull https://github.com/mrdoob/three.js.git
git push
* Make a new branch from the dev branch
git checkout dev
git branch [mychangesbranch]
git checkout [mychangesbranch]
......@@ -70,8 +70,8 @@ When you’ve decided to make changes, start with the following:
* If you modify existing code, run relevant examples to check they didn't break and there wasn't performance regress.
* If you add some assets for the examples (models, textures, sounds, etc), make sure they have a proper license allowing for their use here, less restrictive the better. It is unlikely for large assets to be accepted.
* If some issue is relevant to patch / feature, please mention it with hash (e.g. #2774) in a commit message to get cross-reference in GitHub.
* If you modify files in `examples/js` directory, then don't perform any changes in the `examples/jsm`, JavaScript modules are auto-generated via running `node utils/modularize.js`.
* If end-to-end test failed in Travis and you are sure that all is correct, make a new screenshots with
* If you modify files in `examples/jsm` directory, then don't perform any changes in the `examples/js`, non-module files are auto-generated by running `npm run build-examples`.
* If end-to-end test failed in Travis and you are sure that all is correct, make a new screenshots with
npm run make-screenshot <example_1_name> ...<example_N_name>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册