Skip to content

Commit

Permalink
Changes:
Browse files Browse the repository at this point in the history
* Removed polyfill dependencies for fetch and promise
* Removed Browserify and replaced it with rollup
  • Loading branch information
muthurathinam-m committed May 7, 2019
1 parent bce44e4 commit d274967
Show file tree
Hide file tree
Showing 18 changed files with 1,236 additions and 1,237 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Expand Up @@ -20,8 +20,7 @@ src/**/*.d.ts

samples/node/secrets.json
samples/browser/src/secrets.js
samples/browser/src/graph-js-sdk-core.js
samples/browser/src/graph-js-sdk-web.js
samples/browser/src/graph-js-sdk.js
samples/browser/src/graph-es-sdk.js

spec/**/*.js
Expand Down
30 changes: 30 additions & 0 deletions babel.config.js
@@ -0,0 +1,30 @@
module.exports = function(api) {
api.cache(true);
const presets = [
[
"@babel/preset-env",
{
targets: {
edge: 12,
},
},
],
];

const plugins = [
[
"@babel/plugin-transform-runtime",
{
absoluteRuntime: false,
corejs: false,
helpers: true,
regenerator: true,
useESModules: false,
},
],
];
return {
presets,
plugins,
};
};
11 changes: 0 additions & 11 deletions browser-wrapper-dependency.js

This file was deleted.

11 changes: 0 additions & 11 deletions browser-wrapper.js

This file was deleted.

15 changes: 0 additions & 15 deletions browserify-with-dependencies.js

This file was deleted.

17 changes: 0 additions & 17 deletions browserify.js

This file was deleted.

0 comments on commit d274967

Please sign in to comment.