Comments (6)
I find dirty workaround for this issue. put in bootstrap.config.js
var loader = require('extract-text-webpack-plugin').extract({ fallback: 'style-loader', use: 'css-loader?sourceMap!less-loader?sourceMap'})
var styleLoader = loader.map( chunk => {
const path = chunk.loader
if (chunk.options) {
const options = JSON.stringify(chunk.options)
return `${path}?${options}`
}
return path
}).join('!')
module.exports = {
styleLoader: styleLoader,
scripts: {
'transition': true,
'alert': true,
....
from bootstrap-webpack.
Having the same issue here after upgrade to webpack 2.0. Is anybody looking into this issue? :)
from bootstrap-webpack.
Same here
from bootstrap-webpack.
same. If I dont use @import it works, but If I import another css file that is loaded via a css file that is loaded via extract plugin it doesnt find the loader that is necessary to load the suffix like ttf for base64 encoding
from bootstrap-webpack.
Same here.
node: v7.9.0
npm: 4.2.0
webpack: ^2.4.1
extract-text-webpack-plugin: ^2.1.0
Is anybody looking into this issue?
Thanks.
from bootstrap-webpack.
@vlmonk a thousand thanks. This is the only solution that worked for me. I just had to require and use the plugin in my webpack.config.js also.
This is my environment:
node: v6.10.2
npm: 5.0.3
"bootstrap-webpack": "0.0.6",
"extract-text-webpack-plugin": "^2.1.2",
"webpack": "^2.6.1",
from bootstrap-webpack.
Related Issues (20)
- support latest 3.x HOT 4
- I recomed integrating with and syncing bs version to: https://github.com/valor-software/ng2-bootstrap HOT 1
- cannot resolve path (or pattern) './src/**/*.spec.js'
- Unmet dependencies .. HOT 3
- Import order not allowing overrides HOT 2
- extract-text-webpack-plugin loader usage without plugin error HOT 1
- Use resolve loader
- Give example for using it in a global namespace HOT 1
- bootstrap.config.js doesn't work (in my config) HOT 3
- Cannot find module 'style!css!less!./bootstrap-styles!./bootstrap.config.js' HOT 9
- Can I move bootstrap to a "dll" bundle with bootstrap-webpack and DllPlugin?
- Can I move bootstrap to a "dll" bundle with bootstrap-webpack and DllPlugin?
- expose vs providePlugin?
- Include custom themes HOT 2
- Update to webpack 2 HOT 1
- Webpack 2 error: Can't resolve './bootstrap-styles' & './bootstrap-scripts' HOT 4
- For us newbies, where do I put require("bootstrap-webpack"); HOT 2
- Webpack 2 - Cannot find module \babel-loader\lib\index.js??ref--8-0
- webpack4.x Webapck4 does not support 'extract-text-webpack-plugin' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-webpack.