Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
/ plebpack Public archive

Webpack configuration for the common people.

License

Notifications You must be signed in to change notification settings

aniftyco-archive/plebpack

Repository files navigation

Plebpack

Webpack configuration for the common people.

Example

webpack.config.ts

import config, { entry, output } from 'plebpack';
import babel from '@plebpack/babel';

config.use(entry('./src/index.ts'));
config.use(output('./public/[name].js'));
config.use(
  babel({
    presets: ['@babel/preset-env', '@babel/preset-typescript'],
  })
);

export default config;