Last active
November 24, 2020 15:54
-
-
Save hagevvashi/260522d6ff2b66dce8df2206e2cb90a7 to your computer and use it in GitHub Desktop.
webpackのconfigのentryのサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Configuration } from "webpack"; | |
const config: Configuration = { | |
entry: { | |
"entry1": "./src/path/file1.tsx", | |
"entry2": ["./node_modules/some-polyfill-package/index.js", "./src/path/file2.tsx"], | |
} | |
} | |
export default config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment