-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d45647
commit 44a9ee6
Showing
9 changed files
with
2,172 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": "> 0.25%, last 2 versions, fully supports es5, not dead" | ||
} | ||
] | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
import node from "@rollup/plugin-node-resolve"; | ||
import nodeResolve from "@rollup/plugin-node-resolve"; | ||
import commonjs from "@rollup/plugin-commonjs"; | ||
import { terser } from "rollup-plugin-terser"; | ||
import base from "../../rollup.config"; | ||
import terser from "@rollup/plugin-terser"; | ||
import { babel } from "@rollup/plugin-babel"; | ||
import nodePolyfills from "rollup-plugin-polyfill-node"; | ||
|
||
const pckg = require("./package.json"); | ||
const input = "index.mjs"; | ||
const input = "index.ts"; | ||
|
||
export default [ | ||
{ ...base, input }, | ||
{ | ||
input, | ||
output: [{ file: pckg.browser, format: "umd", name: "turf" }], | ||
plugins: [commonjs(), node(), terser()], | ||
plugins: [ | ||
commonjs(), | ||
nodeResolve(), | ||
nodePolyfills(), | ||
babel({ babelHelpers: "bundled" }), | ||
terser(), | ||
], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.shared.json" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.