UNPKG
jaw-loader
Version:
latest (3.0.0)
3.0.0
0.10.1
0.10.0
0.6.1
0.6.0
migi loader for webpack
github.com/migijs/jaw-loader
migijs/jaw-loader
jaw-loader
/
index.js
8 lines
(7 loc)
•
178 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
jaw =
require
(
'jaw'
);
module
.
exports
=
function
(
source
) {
if
(
this
.
cacheable
) {
this
.
cacheable
(); }
return
'module.exports='
+
JSON
.
stringify
(jaw.
parse
(source)); };