You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create React App을 사용하고 있다면 이미 Webpack이 구성이 되어 있기 때문에 즉시 [사용](https://facebook.github.io/create-react-app/docs/code-splitting)할 수 있습니다.
81
+
Create React App을 사용하고 있다면 이미 Webpack이 구성이 되어 있기 때문에 즉시 [사용](https://create-react-app.dev/docs/code-splitting/)할 수 있습니다.
83
82
[Next.js](https://nextjs.org/docs/advanced-features/dynamic-import) 역시 지원합니다.
84
83
[코드 분할 가이드](https://webpack.js.org/guides/code-splitting/)를 참조하세요. Webpack 설정은 [가이드](https://gist.github.com/gaearon/ca6e803f5c604d37468b0091d9959269)에 있습니다.
85
84
86
85
[Babel](http://babeljs.io/)을 사용할 때는 Babel이 동적 import를 인식할 수 있지만 변환하지는 않도록 합니다. 이를 위해 [babel-plugin-syntax-dynamic-import](https://yarnpkg.com/en/package/babel-plugin-syntax-dynamic-import)를 사용하세요.
87
-
=======
88
-
When Webpack comes across this syntax, it automatically starts code-splitting
89
-
your app. If you're using Create React App, this is already configured for you
90
-
and you can [start using it](https://create-react-app.dev/docs/code-splitting/) immediately. It's also supported
91
-
out of the box in [Next.js](https://nextjs.org/docs/advanced-features/dynamic-import).
92
-
93
-
If you're setting up Webpack yourself, you'll probably want to read Webpack's
94
-
[guide on code splitting](https://webpack.js.org/guides/code-splitting/). Your Webpack config should look vaguely [like this](https://gist.github.com/gaearon/ca6e803f5c604d37468b0091d9959269).
95
-
96
-
When using [Babel](https://babeljs.io/), you'll need to make sure that Babel can
97
-
parse the dynamic import syntax but is not transforming it. For that you will need [@babel/plugin-syntax-dynamic-import](https://classic.yarnpkg.com/en/package/@babel/plugin-syntax-dynamic-import).
0 commit comments