add moduleId option for specifying a custom module id
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
exports.getModuleName = function () {
|
||||
return "my custom module name";
|
||||
};
|
||||
|
||||
exports.moduleIds = true;
|
||||
4
test/fixtures/transformation/es6-modules-amd/get-module-name-option/options.json
vendored
Normal file
4
test/fixtures/transformation/es6-modules-amd/get-module-name-option/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"moduleIds": true,
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
exports.getModuleName = function () {
|
||||
return "my custom module name";
|
||||
};
|
||||
|
||||
exports.moduleIds = true;
|
||||
4
test/fixtures/transformation/es6-modules-system/get-module-name-option/options.json
vendored
Normal file
4
test/fixtures/transformation/es6-modules-system/get-module-name-option/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"moduleIds": true,
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
exports.getModuleName = function () {
|
||||
return "my custom module name";
|
||||
};
|
||||
|
||||
exports.moduleIds = true;
|
||||
4
test/fixtures/transformation/es6-modules-umd/get-module-name-option/options.json
vendored
Normal file
4
test/fixtures/transformation/es6-modules-umd/get-module-name-option/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"moduleIds": true,
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
Reference in New Issue
Block a user