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

質問:このソースのコンパイル環境は何になるのでしょうか? #1

Open
ggslyman opened this issue Jan 2, 2017 · 1 comment

Comments

@ggslyman
Copy link

ggslyman commented Jan 2, 2017

自分が使ってるデータソースを追加したいのですが、このソースのコンパイル環境はどのように構築すればいいのでしょうか?

@plonk
Copy link

plonk commented Nov 9, 2019

Windows 10/NodeJS 6.17.1 でビルドすることができました。

  1. PowerShellから展開したソースツリーのトップディレクトリに移動します。
  2. npm i
  3. gulpfile.jsを変更。buildターゲットのサブターゲットts:compilets:compile:prodに。
  4. 内容 {}env.json を作ります(UTF-8のBOMがつかないようにエディタの設定に注意)。
  5. .\node_modules\.bin\gulp build。build/ ディレクトリにコンパイル結果のJSファイルが配置されます。
  6. npm run-script build で release/ ディレクトリ以下にビルドが出力されます。

Windows 7 でも PowerShell 5 をインストールすればビルドできました。
NodeJS 11 でも多少の修正でビルドできます。
NodeJS 12 は gulp 3 が動かないので無理でした。

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

2 participants