Skip to content

Commit 8f5a9a9

Browse files
committed
Resolve merge conflict
Related to ccc8e03
1 parent 095f7ff commit 8f5a9a9

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

content/docs/code-splitting.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,12 @@ import("./math").then(math => {
7777
});
7878
```
7979

80-
<<<<<<< HEAD
8180
Webpack이 이 구문을 만나게 되면 앱의 코드를 분할합니다.
82-
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/)할 수 있습니다.
8382
[Next.js](https://nextjs.org/docs/advanced-features/dynamic-import) 역시 지원합니다.
8483
[코드 분할 가이드](https://webpack.js.org/guides/code-splitting/)를 참조하세요. Webpack 설정은 [가이드](https://gist.github.com/gaearon/ca6e803f5c604d37468b0091d9959269)에 있습니다.
8584

8685
[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).
98-
>>>>>>> 8f7ffa473905148fd5c7ecfd7fed5dabbd261bf0
9986

10087
## `React.lazy` {#reactlazy}
10188

0 commit comments

Comments
 (0)