Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Jul 14, 2024
1 parent ab68f5b commit ee402f6
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions bin/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ import {

const CONFIG = {
path: {
src: './src',
dist: './dist',

src: './src',
dist: './dist',
svg_input: './src/svg',
svg_output: './dist/svg',
sprite_input: './dist/svg',
Expand Down Expand Up @@ -137,16 +136,6 @@ async function main() {
// --------------------------------------------------------------------

const directoryCopier = new DirectoryCopier();
// await directoryCopier.copyFiles(
// CONFIG.path.ts_input,
// CONFIG.path.ts_output,
// );
// console.log('Files copied successfully.');
// await directoryCopier.copyFiles(
// CONFIG.path.scss_input,
// CONFIG.path.scss_output,
// );
console.log('Files copied successfully.');
await directoryCopier.recursiveCopy(
CONFIG.path.jinja_input,
CONFIG.path.jinja_output,
Expand Down Expand Up @@ -174,13 +163,6 @@ async function main() {
// console.log('TypeScript compilation completed.');


// Rename Ts
// --------------------------------------------------------------------

// await fileRenamer.renameFile(
// path.join(CONFIG.path.js_output, 'index.js'),
// path.join(CONFIG.path.js_output, `${packageConfig.name}.js`),
// )


// Minify JavaScript
Expand Down

0 comments on commit ee402f6

Please sign in to comment.