mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
build-plugins.
This commit is contained in:
@@ -54,7 +54,7 @@ const build = async plugin => {
|
|||||||
const pattern = /^(\.{1,2})\//
|
const pattern = /^(\.{1,2})\//
|
||||||
|
|
||||||
// It's not a local file, e.g a Node.js package
|
// It's not a local file, e.g a Node.js package
|
||||||
if (!pattern.test(source)) {
|
if (!source.startsWith('.')) {
|
||||||
globals[source] = source
|
globals[source] = source
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user