gonzofish / angular-librarian

An Angular 2+ scaffolding setup for creating libraries
https://www.npmjs.com/package/angular-librarian
MIT License
91 stars 9 forks source link

Error in WebPack build #49

Closed jhwegener closed 7 years ago

jhwegener commented 7 years ago

Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example

This error occurred, if you have files like css in a dependency lib. Can be fixed with two lines in webpack.common.js:

at top: const ExtractTextPlugin = require("extract-text-webpack-plugin");

in plugins-section: new ExtractTextPlugin("*.css")

jhwegener commented 7 years ago

merged, so I'm closing this issue now