@atlaspack/plugin 2.12.1-dev.3356 → 2.12.1-dev.3367
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/PluginAPI.js +3 -1
- package/package.json +3 -3
- package/src/PluginAPI.js +3 -1
package/lib/PluginAPI.js
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Validator = exports.Transformer = exports.Runtime = exports.Resolver = exports.Reporter = exports.Packager = exports.Optimizer = exports.Namer = exports.Compressor = exports.Bundler = void 0;
|
|
7
|
-
|
|
7
|
+
// This uses the `parcel-plugin-config` symbol so it's backwards compatible with
|
|
8
|
+
// parcel plugins.
|
|
9
|
+
const CONFIG = Symbol.for('parcel-plugin-config');
|
|
8
10
|
class Transformer {
|
|
9
11
|
constructor(opts) {
|
|
10
12
|
// $FlowFixMe
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/plugin",
|
|
3
|
-
"version": "2.12.1-dev.
|
|
3
|
+
"version": "2.12.1-dev.3367+07fefed65",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"check-ts": "tsc --noEmit src/PluginAPI.d.ts"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atlaspack/types": "2.12.1-dev.
|
|
22
|
+
"@atlaspack/types": "2.12.1-dev.3367+07fefed65"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "07fefed65a9a4d7bd0bdc9c45b39704ee4ca70dd"
|
|
25
25
|
}
|
package/src/PluginAPI.js
CHANGED
|
@@ -13,7 +13,9 @@ import type {
|
|
|
13
13
|
Validator as ValidatorOpts,
|
|
14
14
|
} from '@atlaspack/types';
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// This uses the `parcel-plugin-config` symbol so it's backwards compatible with
|
|
17
|
+
// parcel plugins.
|
|
18
|
+
const CONFIG = Symbol.for('parcel-plugin-config');
|
|
17
19
|
|
|
18
20
|
export class Transformer {
|
|
19
21
|
constructor<T>(opts: TransformerOpts<T>) {
|