mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
Don't snapshot the iconv-lite
module
When deciding which methods to export, `iconv-lite` verifies the availability of some Node features, which is clearly an unsupported behavior when executing it via `mksnapshot`. In this case we were not getting any exception at compile-time, but we noticed some methods were missing from iconv-lite's API. With this commit we are excluding this module from the snapshot, thus making all of its methods available again.
This commit is contained in:
parent
5d2ca4b8c5
commit
cdb399295b
@ -46,7 +46,7 @@ module.exports = function (packagedAppPath) {
|
||||
relativePath == path.join('..', 'node_modules', 'markdown-preview', 'node_modules', 'htmlparser2', 'lib', 'index.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'roaster', 'node_modules', 'htmlparser2', 'lib', 'index.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'task-lists', 'node_modules', 'htmlparser2', 'lib', 'index.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'iconv-lite', 'encodings', 'index.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'iconv-lite', 'lib', 'index.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'less', 'index.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'less', 'lib', 'less', 'fs.js') ||
|
||||
relativePath == path.join('..', 'node_modules', 'less', 'lib', 'less-node', 'index.js') ||
|
||||
|
Loading…
Reference in New Issue
Block a user