mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-17 04:39:40 +03:00
fix style build
This commit is contained in:
@@ -10,6 +10,12 @@ module.exports = (resolve, options) => {
|
||||
|
||||
const pipeline = (cssFilename, minified) => ({
|
||||
input,
|
||||
external: (id, parentId) => {
|
||||
if (!parentId) {
|
||||
return false;
|
||||
}
|
||||
return !resolve.styleExtensions.find((ext) => id.endsWith(ext));
|
||||
},
|
||||
plugins: [
|
||||
rollupAlias(resolve, alias),
|
||||
rollupScss(
|
||||
@@ -21,9 +27,7 @@ module.exports = (resolve, options) => {
|
||||
minified
|
||||
),
|
||||
rollupEsBuild(false),
|
||||
rollupResolve(resolve, (module) =>
|
||||
resolve.styleExtensions.some((ext) => module.endsWith(ext))
|
||||
),
|
||||
rollupResolve(resolve),
|
||||
{
|
||||
generateBundle() {
|
||||
process.stdout.write = () => {
|
||||
|
||||
Reference in New Issue
Block a user