You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
webpack/README.md

28 lines
609 B

8 months ago
# Webpack
8 months ago
8 months ago
Small Wrapper Function for using Webpack. These Function is only Build to using,
```
const tinyComponentsWebpack = require('@tiny-components/webpack')
module.exports = tinyComponentsWebpack({
critical: [ './resources/js/index.js' ],
styles: [ './resources/scss/styles.scss' ],
})
```
```
const tinyComponentsWebpack = require('@tiny-components/webpack')
module.exports = tinyComponentsWebpack({
critical: [ './resources/js/critical.js' ],
styles: [ './resources/scss/styles.scss' ],
}, {
svg: {
src: [
'./resources/icons/*.svg'
]
}
})
```