[2.0.0-alpha2] Build dist/ .js files
Closed this issue · 2 comments
moderndeveloperllc commented
Was looking to begin using and testing the new LitElement version, but it needs to have the dist/
directory built and package.json
changed
"main": "dist/vaadin-accordion.js",
"module": "dist/vaadin-accordion.js",
so it will be compiled to .js and work with existing bundling workflows.
web-padawan commented
We are not going to create dist
folder but the .js
files are built and published to npm.
This is intended: we need to keep the file structure with src
folders mostly the same.
moderndeveloperllc commented
@web-padawan My bad. My IDE was only picking up the .ts files, but I see the .js files in the directory. The problem I'm experiencing is that when I click on a panel, it doesn't open. I'll dig more, but I can't see anything that would change this behavior.