自分で作ったプロジェクトBを、同じく自分で作ったプロジェクトAの submodule として開発したい。具体的には、Bで書いた CSS 付きの
React Component を、React で書いた frontend のリポジトリA内で使いたいです。
でも、そうすると、
Failed to compile. ./src/<プロジェクトB>/node_modules/dynamics.js/lib/dynamics.js Line 901: 'piDouble' is not defined no-undef Line 902: 'piDouble' is not defined no-undef Line 2075: 'define' is not defined no-undef Search for the keywords to learn more about each error.
とエラーが出てしまいます。
B単体ではエラーは出ないのですが、Aから呼び出すとエラーになります。
submodule B内の node_modules を使うために、すべきことなどあるんでしょうか?
あなたの回答
tips
プレビュー