UNPKG
webpackconfig
Version:
latest (0.0.2)
0.0.2
0.0.1
Helper for creating webpack configs
webpackconfig
/
lib
/
assets.js
13 lines
(8 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
configAssets =
function
(
webpackConfig, config
) { webpackConfig.
module
.
loaders
.
push
({
test
:
/\.html$/
,
loader
:
"file?name=[name].[ext]"
});
return
webpackConfig; };
export
default
configAssets;