In the template for src/package.json, you have these lines:
"module": "<%= props.libraryName.kebabCase %>.js",
"jsnext:main": "<%= props.libraryName.kebabCase %>.js",
"typings": "<%= props.libraryName.kebabCase %>.d.ts",
but, in the output to dist/, these files are all named index rather than the library name. Or have I misunderstood something?
In the template for
src/package.json, you have these lines:but, in the output to
dist/, these files are all namedindexrather than the library name. Or have I misunderstood something?