Ship built output for consumers
This commit is contained in:
parent
0c430c3c0e
commit
9562d6a603
16 changed files with 302 additions and 1 deletions
9
dist/document.js
vendored
Normal file
9
dist/document.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.defineDocumentType = defineDocumentType;
|
||||
function defineDocumentType(definition) {
|
||||
if (!definition.type || definition.type.trim().length === 0) {
|
||||
throw new Error("CultCache document types must declare a non-empty type.");
|
||||
}
|
||||
return definition;
|
||||
}
|
||||
Loading…
Reference in a new issue