🔧 Updated rollup config
This commit is contained in:
parent
18443cdfbf
commit
2a20b65fa2
105 changed files with 1171 additions and 902 deletions
2
packages/core/package-lock.json
generated
2
packages/core/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@freesewing/core",
|
||||
"version": "0.32.4",
|
||||
"version": "2.0.0-beta.33",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -35,11 +35,13 @@
|
|||
"report": "BABEL_ENV=production nyc report --reporter=html",
|
||||
"coverage": "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov"
|
||||
},
|
||||
"peerDependencies": {},
|
||||
"dependencies": {
|
||||
"bezier-js": "^2.2.13",
|
||||
"bin-pack": "1.0.2",
|
||||
"hooks": "^0.3.2"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"files": [
|
||||
"dist/*",
|
||||
"README.md",
|
||||
|
|
|
@ -28,10 +28,7 @@ export default {
|
|||
resolve(),
|
||||
json(),
|
||||
commonjs(),
|
||||
babel({
|
||||
exclude: "node_modules/**",
|
||||
plugins: ["@babel/plugin-proposal-object-rest-spread"]
|
||||
}),
|
||||
babel(),
|
||||
minify({
|
||||
comments: false,
|
||||
sourceMap: true,
|
||||
|
|
|
@ -236,12 +236,9 @@ Svg.prototype.renderText = function(point) {
|
|||
};
|
||||
|
||||
Svg.prototype.renderCircle = function(point) {
|
||||
return `<circle
|
||||
cx="${point.x}"
|
||||
cy="${point.y}"
|
||||
r="${point.attributes.get("data-circle")}"
|
||||
${point.attributes.renderIfPrefixIs("data-circle-")}
|
||||
></circle>`;
|
||||
return `<circle cx="${point.x}" cy="${point.y}" r="${point.attributes.get(
|
||||
"data-circle"
|
||||
)}" ${point.attributes.renderIfPrefixIs("data-circle-")}></circle>`;
|
||||
};
|
||||
|
||||
/** Returns SVG code for a snippet */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue