construction: More merging
This commit is contained in:
parent
84ae6d5c5d
commit
122da8e17a
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ export default {
|
|||
output: {
|
||||
file: "dist/cutonfold.min.js",
|
||||
format: "iife",
|
||||
name: "freesewing_plugin_cutonfold"
|
||||
name: "freesewing.plugins.cutonfold"
|
||||
},
|
||||
plugins: [
|
||||
resolve({
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
import meta from "../package.json";
|
||||
import markers from "./lib/markers";
|
||||
import style from "./lib/style";
|
||||
import { version } from "../package.json";
|
||||
|
||||
export default {
|
||||
hooks: {
|
||||
preRenderSvg: function(next) {
|
||||
this.attributes.add("freesewing:plugin-cutonfold", meta.version);
|
||||
this.defs += markers;
|
||||
this.style += style;
|
||||
this.attributes.add("freesewing:plugin-cutonfold", version);
|
||||
next();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue