construction: Removed require for now
This commit is contained in:
parent
0b7bbc1a62
commit
c84da5d9f8
2 changed files with 980 additions and 980 deletions
1954
packages/plugin-cutonfold/package-lock.json
generated
1954
packages/plugin-cutonfold/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,11 @@
|
|||
const VERSION = require('../package.json').version;
|
||||
//const VERSION = require('../package.json').version;
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
hooks: {
|
||||
preRenderSvg: function(next) {
|
||||
// Without this, our custom attribute won't be valid
|
||||
this.attributes.add("xmlns:freesewing-plugins", "http://freesewing.org/namespaces/freesewing-plugins");
|
||||
this.attributes.add("freesewing-plugins:macro-cutonfold", VERSION);
|
||||
this.attributes.add("freesewing-plugins:macro-cutonfold", 'fixme');
|
||||
next();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue