mirror of
https://github.com/hanzoai/tailwindcss.git
synced 2026-09-24 17:03:14 +00:00
Prevent source maps from being generated
This commit is contained in:
@@ -14,13 +14,9 @@ function buildDistFile(filename) {
|
||||
.process(css, {
|
||||
from: `./${filename}.css`,
|
||||
to: `./dist/${filename}.css`,
|
||||
map: { inline: false },
|
||||
})
|
||||
.then(result => {
|
||||
fs.writeFileSync(`./dist/${filename}.css`, result.css)
|
||||
if (result.map) {
|
||||
fs.writeFileSync(`./dist/${filename}.css.map`, result.map)
|
||||
}
|
||||
return result
|
||||
})
|
||||
.then(result => {
|
||||
|
||||
Reference in New Issue
Block a user