faucet-pipeline / faucet-pipeline-js

JavaScript asset pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

avoid reformatting minified libraries

FND opened this issue · comments

commented

import "foo.min.js" results in foo.min.js being reformatted, thus introducing unnecessary whitespace (arguably when importing a minified library, we wanna keep it minified)

note that excludeing such libraries from transpilation circumvents the issue:

    esnext: {
        exclude: ["document-register-element"]
    }