@stylable/module-utils
Advanced tools
Comparing version 5.14.0 to 5.15.0
@@ -6,3 +6,3 @@ /**@deprecated */ | ||
export { generateDTSSourceMap } from './generate-dts-sourcemaps'; | ||
export { generateStylableJSModuleSource } from './stylable-js-module-source'; | ||
export { generateStylableJSModuleSource } from '@stylable/core'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -14,4 +14,5 @@ "use strict"; | ||
Object.defineProperty(exports, "generateDTSSourceMap", { enumerable: true, get: function () { return generate_dts_sourcemaps_1.generateDTSSourceMap; } }); | ||
var stylable_js_module_source_1 = require("./stylable-js-module-source"); | ||
Object.defineProperty(exports, "generateStylableJSModuleSource", { enumerable: true, get: function () { return stylable_js_module_source_1.generateStylableJSModuleSource; } }); | ||
// ToDo(major): moved to core | ||
var core_1 = require("@stylable/core"); | ||
Object.defineProperty(exports, "generateStylableJSModuleSource", { enumerable: true, get: function () { return core_1.generateStylableJSModuleSource; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -5,3 +5,2 @@ "use strict"; | ||
const core_1 = require("@stylable/core"); | ||
const stylable_js_module_source_1 = require("./stylable-js-module-source"); | ||
function stylableModuleFactory(stylableOptions, { runtimePath, runtimeStylesheetId = 'module', injectCSS = true, staticImports = [], moduleType = 'cjs', runtimeId = '0', } = {}) { | ||
@@ -11,3 +10,3 @@ const stylable = new core_1.Stylable(stylableOptions); | ||
const { meta, exports } = stylable.transform(stylable.analyze(path, source)); | ||
return (0, stylable_js_module_source_1.generateStylableJSModuleSource)({ | ||
return (0, core_1.generateStylableJSModuleSource)({ | ||
moduleType: moduleType, | ||
@@ -14,0 +13,0 @@ imports: staticImports.map((from) => ({ from })), |
{ | ||
"name": "@stylable/module-utils", | ||
"version": "5.14.0", | ||
"version": "5.15.0", | ||
"description": "Stylable module creation utilities", | ||
@@ -10,3 +10,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@stylable/core": "^5.14.0", | ||
"@stylable/core": "^5.15.0", | ||
"@tokey/core": "^1.4.0", | ||
@@ -13,0 +13,0 @@ "vlq": "^2.0.4" |
@@ -15,3 +15,5 @@ # @stylable/module-utils | ||
> This function moved to `@stylable/core` and will be removed in the next major version. | ||
## License | ||
Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by an [MIT license](./LICENSE). |
@@ -7,2 +7,3 @@ /**@deprecated */ | ||
export { generateDTSSourceMap } from './generate-dts-sourcemaps'; | ||
export { generateStylableJSModuleSource } from './stylable-js-module-source'; | ||
// ToDo(major): moved to core | ||
export { generateStylableJSModuleSource } from '@stylable/core'; |
@@ -1,3 +0,2 @@ | ||
import { Stylable, StylableConfig } from '@stylable/core'; | ||
import { generateStylableJSModuleSource } from './stylable-js-module-source'; | ||
import { Stylable, StylableConfig, generateStylableJSModuleSource } from '@stylable/core'; | ||
@@ -4,0 +3,0 @@ export interface Options { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19
97842
33
1722
Updated@stylable/core@^5.15.0