Closed phillipskevin closed 5 years ago
This code:
import { Component, DefineMap, DefineList } from "can"; import "component-tree/component-tree"; import "panel/panel.less"; export default Component.extend({ tag: "components-panel", ViewModel: { // ... }, view: ` ... ` }); export { Component, DefineMap, DefineList };
becomes:
import { Component, DefineMap, DefineList } from "can"; import "component-tree/component-tree"; import "panel/panel.less"; export default Component.extend({ tag: "components-panel", ViewModel: { // ... }, view: ` ... ` });
...in the browser or after the file is built.
Without these lines, it works correctly:
import "component-tree/component-tree"; import "panel/panel.less";
This code:
becomes:
...in the browser or after the file is built.
Without these lines, it works correctly: