-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Showing
43 changed files
with
706 additions
and
1,365 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/draggable': minor | ||
--- | ||
|
||
Converted build from webpack to rollout. Import paths have changed |
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
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
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
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,47 @@ | ||
/** | ||
* @type {import('@babel/core').TransformOptions} | ||
*/ | ||
module.exports = function (api) { | ||
api.cache(true); | ||
|
||
return { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{useBuiltIns: 'entry', corejs: '3.0', bugfixes: true}, | ||
], | ||
['@babel/preset-typescript'], | ||
], | ||
assumptions: { | ||
setPublicClassFields: true, | ||
privateFieldsAsProperties: true, | ||
// nothing accesses `document.all`: | ||
noDocumentAll: true, | ||
// nothing relies on class constructors invoked without `new` throwing: | ||
noClassCalls: true, | ||
// nothing should be relying on tagged template strings being frozen: | ||
mutableTemplateObject: true, | ||
// nothing is relying on Function.prototype.length: | ||
ignoreFunctionLength: true, | ||
// nothing is relying on mutable re-exported bindings: | ||
constantReexports: true, | ||
// don't bother marking Module records non-enumerable: | ||
enumerableModuleMeta: true, | ||
// nothing uses [[Symbol.toPrimitive]]: | ||
// (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toPrimitive) | ||
ignoreToPrimitiveHint: true, | ||
// nothing relies on spread copying Symbol keys: ({...{ [Symbol()]: 1 }}) | ||
objectRestNoSymbols: true, | ||
// nothing relies on `new (() => {})` throwing: | ||
noNewArrows: true, | ||
// transpile object spread to assignment instead of defineProperty(): | ||
setSpreadProperties: true, | ||
// nothing should be using custom iterator protocol: | ||
skipForOfIteratorClosing: true, | ||
// nothing inherits from a constructor function with explicit return value: | ||
superIsCallableConstructor: true, | ||
// nothing relies on CJS-transpiled namespace imports having all properties prior to module execution completing: | ||
noIncompleteNsImportDetection: true, | ||
}, | ||
}; | ||
}; |
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,9 @@ | ||
declare module 'rollup-plugin-includepaths' { | ||
interface Options { | ||
include: {[key: string]: string}; | ||
paths: string[]; | ||
extensions: string[]; | ||
} | ||
export = includePaths; | ||
function includePaths(object: Options); | ||
} |
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
Oops, something went wrong.