Mark as module
This commit is contained in:
parent
efef47b77e
commit
e0873b359c
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/string-templates",
|
"name": "@budibase/string-templates",
|
||||||
|
"type": "module",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "Handlebars wrapper for Budibase templating.",
|
"description": "Handlebars wrapper for Budibase templating.",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
import * as templates from "./index.js"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ES6 entrypoint for rollup
|
* ES6 entrypoint for rollup
|
||||||
*/
|
*/
|
||||||
export const isValid = templates.isValid
|
export {
|
||||||
export const makePropSafe = templates.makePropSafe
|
isValid,
|
||||||
export const getManifest = templates.getManifest
|
makePropSafe,
|
||||||
export const isJSBinding = templates.isJSBinding
|
getManifest,
|
||||||
export const encodeJSBinding = templates.encodeJSBinding
|
isJSBinding,
|
||||||
export const decodeJSBinding = templates.decodeJSBinding
|
encodeJSBinding,
|
||||||
export const processStringSync = templates.processStringSync
|
decodeJSBinding,
|
||||||
export const processObjectSync = templates.processObjectSync
|
processStringSync,
|
||||||
export const processString = templates.processString
|
processObjectSync,
|
||||||
export const processObject = templates.processObject
|
processString,
|
||||||
export const doesContainStrings = templates.doesContainStrings
|
processObject,
|
||||||
export const doesContainString = templates.doesContainString
|
doesContainStrings,
|
||||||
export const disableEscaping = templates.disableEscaping
|
doesContainString,
|
||||||
export const findHBSBlocks = templates.findHBSBlocks
|
disableEscaping,
|
||||||
export const convertToJS = templates.convertToJS
|
findHBSBlocks,
|
||||||
export const setJSRunner = templates.setJSRunner
|
convertToJS,
|
||||||
export const setOnErrorLog = templates.setOnErrorLog
|
setJSRunner,
|
||||||
export const FIND_ANY_HBS_REGEX = templates.FIND_ANY_HBS_REGEX
|
setOnErrorLog,
|
||||||
export const helpersToRemoveForJs = templates.helpersToRemoveForJs
|
FIND_ANY_HBS_REGEX,
|
||||||
|
helpersToRemoveForJs,
|
||||||
|
} from "./index.js"
|
||||||
|
|
||||||
export * from "./errors.js"
|
export * from "./errors.js"
|
||||||
|
|
Loading…
Reference in New Issue