Skip to content

Commit 727e742

Browse files
Prevent source maps from being generated
1 parent 91d5ced commit 727e742

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/build.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ function buildDistFile(filename) {
1414
.process(css, {
1515
from: `./${filename}.css`,
1616
to: `./dist/${filename}.css`,
17-
map: { inline: false },
1817
})
1918
.then(result => {
2019
fs.writeFileSync(`./dist/${filename}.css`, result.css)
21-
if (result.map) {
22-
fs.writeFileSync(`./dist/${filename}.css.map`, result.map)
23-
}
2420
return result
2521
})
2622
.then(result => {

0 commit comments

Comments
 (0)