webpack


Webpack : Exporting multiple Css files for use as Themes?


I am trying to get webpack to compile my css, there are actually 4 versions of it, each version having about 3 files.
Normally I would use an extractTextPlugin and use the stanadard import '../css/my-css1.css'
But this isn't going to work as I have 4 different themes, I dont need to switch the themes at run-time. I just need to create a directory with 4 themes (each theme being compiled into 1 min file from around 3 original files).
I did play around with adding a new entry for CSS, and this appears to work but I need to add a new entry for each css theme and it produces a JS too, which isn't correct, as there is no JS. Is there anyway to suppress this ?
Any help or inspiration, really appreciated
Thanks

Related Links

How to define custom filename placeholder in Webpack?
Why my webpack named chunk not working?
Webpack 2 (beta 25) - alternate index.html
webpack with oauth-ng and jsrsasign
How to deduplicate dependencies between multiple bundles?
Detect when all webpack chunks have been loaded/downloaded?
webpack & CDNs without access to the webpack.config file
JSX undefined variable
index.d.ts not transpiled into javascript
How do i tell IntelliJ that the missing module WILL be provided?
how to config webpack loader exclude path that contains 'fonts'
Has there been a breaking change in webpack dev server proxy
Should the webpack modules object have holes in it?
Images referenced in the SASS files are not resolved automatically by webpack
Webpack with Stylus-loader and Url-Loader not loading images
How webpack vendors import part of a module?

Categories

HOME
ibm-bluemix
netbeans
keycloak
urbancode
mfc
platform-builder
win32gui
portia
basic
awesome-wm
gorm
imacros
spring-tool-suite
dtrace
carthage
footer
reactcsstransitiongroup
viewport
immutable.js
ml
scriptcs
functional-testing
arabic
tar
facebook-instant-articles
buck
wtx
avcapturesession
xmlreader
sequential
overriding
host
vxworks
main
objectlistview
graphenedb
total-commander
sage-one
libusb-win32
android-cursor
r-forge
eventkit
xml-attribute
clang-static-analyzer
pyke
spim
emailrelay
method-parameters
mono-embedding
sankey-diagram
sniffer
ami
angular-local-storage
lustre
c3
android-radiobutton
tld
valueconverter
srs
typo3-neos
monomac
multiprocessor
hungarian-algorithm
html-editor
http-unit
libstdc++
isnullorempty
trusted
cufon
work-stealing
nsobject
data-loss
recent-documents
actionview
digest-authentication
paster
memory-size
javap
sector

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile