Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hagevvashi/260522d6ff2b66dce8df2206e2cb90a7 to your computer and use it in GitHub Desktop.
Save hagevvashi/260522d6ff2b66dce8df2206e2cb90a7 to your computer and use it in GitHub Desktop.
webpackのconfigのentryのサンプル
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