1.2.2 • Published 1 year ago

single-bundle-webpack-plugin v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Single bundle webpack plugin

Small webpack plugin allows pack js/css files to one module. It's useful for making custom element by adding to webpack config what allows build application and create custom element by one script command. Angular docs: Angular custom elements To know more how to create Angular custom elements you can read: Angular web components workspace

Install

npm install single-bundle-webpack-plugin

Usage

webpack.config.js

Options

  • destination - path where to save component e.g. custom-components/first-component
  • bundleName - name future module e.g. my-new-component-name
  • jsFiles - array of paths to js modules
  • cssFile - paths to css styles file

Css style files will be appended to <head> as <style> tag.

1.2.2

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago