Fx60: Fix snapshot filenames
nsIURL doesn't seem to work anymore, so add Zotero.Utilities.parseURL(), which uses the `url` package from NPM and adds fileName, fileExtension, and fileBaseName.
This commit is contained in:
parent
c07379fe33
commit
8c59df435f
6 changed files with 84 additions and 28 deletions
|
@ -38,6 +38,13 @@ const symlinkFiles = [
|
|||
|
||||
// these files will be browserified during the build
|
||||
const browserifyConfigs = [
|
||||
{
|
||||
src: 'node_modules/url/url.js',
|
||||
dest: 'resource/url.js',
|
||||
config: {
|
||||
standalone: 'url'
|
||||
}
|
||||
},
|
||||
{
|
||||
src: 'node_modules/sinon/lib/sinon.js',
|
||||
dest: 'test/resource/sinon.js',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue