oliverdavies.uk-drupal-old/web/themes/custom/opdavies/opdavies.libraries.yml
Oliver Davies d343b4cdf2 Switch from Laravel Mix to Webpack Encore
- Updated npm dependencies
- Replaced `webpack.mix.js` with `webpack.config.js`
- Added `postcss.config.js`
- Removed the `src` directory and moved `css` and `js` to the root level
  of the theme
- Renamed `dist` to `build` and updated in libraries file

References #41
2020-06-10 12:06:09 +01:00

18 lines
267 B
YAML

global-styling:
css:
base:
build/app.css: {}
global-scripts:
js:
build/app.js: {}
twitter:
js:
https://platform.twitter.com/widgets.js:
type: external
minified: true
attributes:
async: true
charset: 'utf-8'