mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Make require('marko/node-require').install() a noop in the browser
This commit is contained in:
parent
25f91c3a7e
commit
b9c0afa2ac
1
node-require-browser.js
Normal file
1
node-require-browser.js
Normal file
@ -0,0 +1 @@
|
||||
exports.install = function() {};
|
||||
@ -64,5 +64,8 @@
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"version": "2.7.5"
|
||||
"version": "2.7.5",
|
||||
"browser": {
|
||||
"./node-require.js": "./node-require-browser.js"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user