Update entrypoints
This commit is contained in:
parent
8503af6729
commit
6b3c4ec651
|
@ -3,15 +3,12 @@
|
||||||
"type": "module",
|
"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": "dist/index.cjs",
|
||||||
"module": "src/index.mjs",
|
"module": "src/index.mjs",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": "./src/index.mjs",
|
||||||
"require": "./src/index.js",
|
|
||||||
"import": "./src/index.mjs"
|
|
||||||
},
|
|
||||||
"./package.json": "./package.json",
|
"./package.json": "./package.json",
|
||||||
"./test/utils": "./test/utils.js"
|
"./test/utils": "./test/utils.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,11 +10,11 @@ const production = !process.env.ROLLUP_WATCH
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
input: "src/index.mjs",
|
input: "src/index.js",
|
||||||
output: {
|
output: {
|
||||||
sourcemap: !production,
|
sourcemap: !production,
|
||||||
format: "esm",
|
format: "cjs",
|
||||||
file: "./dist/bundle.mjs",
|
file: "./dist/bundle.cjs",
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
resolve({
|
resolve({
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
/**
|
|
||||||
* ES6 entrypoint for rollup
|
|
||||||
*/
|
|
||||||
export {
|
|
||||||
isValid,
|
|
||||||
makePropSafe,
|
|
||||||
getManifest,
|
|
||||||
isJSBinding,
|
|
||||||
encodeJSBinding,
|
|
||||||
decodeJSBinding,
|
|
||||||
processStringSync,
|
|
||||||
processObjectSync,
|
|
||||||
processString,
|
|
||||||
processObject,
|
|
||||||
doesContainStrings,
|
|
||||||
doesContainString,
|
|
||||||
disableEscaping,
|
|
||||||
findHBSBlocks,
|
|
||||||
convertToJS,
|
|
||||||
setJSRunner,
|
|
||||||
setOnErrorLog,
|
|
||||||
FIND_ANY_HBS_REGEX,
|
|
||||||
helpersToRemoveForJs,
|
|
||||||
} from "./index.js"
|
|
||||||
|
|
||||||
export * from "./errors.js"
|
|
Loading…
Reference in New Issue