Skip to content

Use namespace for CSL types

Alf Eaton requested to merge csl-namespace into master

Something about the way the CSL types were re-exported using a wildcard (import * as CSL from './lib/csl'; export { CSL }) was causing the published CommonJS files to be used instead of the ES6 modules in the dist folder.

This wraps the CSL types in a namespace instead of trying to export them as a module.

Merge request reports