File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 < meta http-equiv ="X-UA-Compatible " content ="ie=edge " />
77 < title > ProjectManager</ title >
88 < link rel ="stylesheet " href ="app.css " />
9- < script type ="module " src ="dist/app .js "> </ script >
9+ < script type ="module " src ="dist/bundle .js "> </ script >
1010 </ head >
1111 < body >
1212 < template id ="project-input ">
Original file line number Diff line number Diff line change 55 "main" : " app.js" ,
66 "scripts" : {
77 "test" : " echo \" Error: no test specified\" && exit 1" ,
8- "start" : " lite-server"
8+ "start" : " lite-server" ,
9+ "build" : " webpack"
910 },
1011 "author" : " DS" ,
1112 "license" : " ISC" ,
Original file line number Diff line number Diff line change 1- import { ProjectInput } from "./components/project-input.js " ;
2- import { ProjectList } from "./components/project-list.js " ;
1+ import { ProjectInput } from "./components/project-input" ;
2+ import { ProjectList } from "./components/project-list" ;
33
44new ProjectInput ( ) ;
55new ProjectList ( "active" ) ;
Original file line number Diff line number Diff line change 1- import Cmp from "./base-components.js " ;
2- import { AutoBind as Autobind } from "../decorators/autobind.js " ;
3- import { Validatable , validate } from "../util/validation.js " ;
4- import { projectState } from "../state/project-state.js " ;
1+ import Cmp from "./base-components" ;
2+ import { AutoBind as Autobind } from "../decorators/autobind" ;
3+ import { Validatable , validate } from "../util/validation" ;
4+ import { projectState } from "../state/project-state" ;
55
66//ProjectInput Class
77export class ProjectInput extends Cmp < HTMLDivElement , HTMLFormElement > {
Original file line number Diff line number Diff line change 1- import { Draggable } from "../models/drag-drop.js " ;
2- import { Project } from "../models/project.js " ;
3- import Component from "./base-components.js " ;
4- import { AutoBind } from "../decorators/autobind.js " ;
1+ import { Draggable } from "../models/drag-drop" ;
2+ import { Project } from "../models/project" ;
3+ import Component from "./base-components" ;
4+ import { AutoBind } from "../decorators/autobind" ;
55
66//Project Item Class
77export class ProjectItem
Original file line number Diff line number Diff line change 1- import Component from "./base-components.js " ;
2- import { AutoBind } from "../decorators/autobind.js " ;
3- import { Project , ProjectStatus } from "../models/project.js " ;
4- import { DragTarget } from "../models/drag-drop.js " ;
5- import { projectState } from "../state/project-state.js " ;
6- import { ProjectItem } from "./project-item.js " ;
1+ import Component from "./base-components" ;
2+ import { AutoBind } from "../decorators/autobind" ;
3+ import { Project , ProjectStatus } from "../models/project" ;
4+ import { DragTarget } from "../models/drag-drop" ;
5+ import { projectState } from "../state/project-state" ;
6+ import { ProjectItem } from "./project-item" ;
77
88//ProjectList Class
99export class ProjectList
Original file line number Diff line number Diff line change 1- import { Project , ProjectStatus } from "../models/project.js " ;
1+ import { Project , ProjectStatus } from "../models/project" ;
22
33// Project State Management
44type Listener < T > = ( items : T [ ] ) => void ;
Original file line number Diff line number Diff line change 3131
3232 /* Modules */
3333 "module" : " ES2015" /* Specify what module code is generated. */ ,
34- "rootDir" : " ./src" /* Specify the root folder within your source files. */ ,
34+ // "rootDir": "./src" /* Specify the root folder within your source files. */,
3535 // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
3636 // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3737 // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
You can’t perform that action at this time.
0 commit comments