mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix bugs when dynamically loading paper.js source code in Node.
This commit is contained in:
parent
e851090c81
commit
ad4f74a872
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ if (typeof window === 'object') {
|
|||
// Override node specific options.
|
||||
prepro.setOptions({
|
||||
environment: 'node',
|
||||
stats: false
|
||||
legacy: false,
|
||||
stats: false,
|
||||
version: 'dev'
|
||||
});
|
||||
// Load Paper.js library files.
|
||||
prepro.include('../src/paper.js');
|
||||
|
|
Loading…
Reference in a new issue