Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tslib@2.1.0 #57

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Add tslib@2.1.0 #57

merged 1 commit into from
Apr 1, 2021

Conversation

pioug
Copy link
Collaborator

@pioug pioug commented Apr 1, 2021

Fixing the warning during the build ⬇️

$ npm run build

> svg-pathdata@5.0.5 build /Users/piou/Dev/svg-pathdata
> rollup -c rollup.config.js


src/SVGPathData.ts → lib/SVGPathData.js, lib/SVGPathData.module.js...
(!) Circular dependencies
src/SVGPathData.ts -> src/SVGPathDataEncoder.ts -> src/SVGPathData.ts
src/SVGPathData.ts -> src/SVGPathDataParser.ts -> src/SVGPathData.ts
src/SVGPathData.ts -> src/SVGPathDataParser.ts -> src/TransformableSVG.ts -> src/SVGPathDataTransformer.ts -> src/mathUtils.ts -> src/SVGPathData.ts
src/SVGPathData.ts -> src/SVGPathDataParser.ts -> src/TransformableSVG.ts -> src/SVGPathDataTransformer.ts -> src/SVGPathData.ts
(!) Plugin typescript: @rollup/plugin-typescript TS2343: This syntax requires an imported helper named '__spreadArray' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
src/SVGPathDataParser.ts: (279:29)

279               commands.push(...cT);
                                ~~~~~

created lib/SVGPathData.js, lib/SVGPathData.module.js in 2.9s

@pioug pioug merged commit a372c6f into master Apr 1, 2021
@pioug pioug deleted the tslib branch April 1, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant