Skip to content

Commit

Permalink
Dir/File renaming / optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
iocron committed May 17, 2023
1 parent 19824b7 commit 8f2c287
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[*.{css,js,jsx,mjs,ts,json}]
[*.{css,js,jsx,mjs,ts}]
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
indent_style = space
indent_size = 2
4 changes: 2 additions & 2 deletions bundle.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const buildType = args[0]
export let _esOptions = {
outdir: 'dist',
entryPoints: [
{ out: 'bundle', in: './src/main.js'},
{ out: 'bundle', in: './src/main.css'},
{ out: 'js/bundle', in: './src/js/main.js'},
{ out: 'css/bundle', in: './src/css/main.css'},
],
bundle: true,
write: true,
Expand Down
Empty file removed dist/.gitkeep
Empty file.
1 change: 0 additions & 1 deletion src/a.css

This file was deleted.

1 change: 1 addition & 0 deletions src/css/a.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a { color: #151515; }
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/a.js → src/js/a.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const a = function() {
console.log("i am a.js")
console.log("I am a.js")
}

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/b.js → src/js/b.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const b = function() {
console.log("i am b.js")
console.log("I am b.js")
}

export default {
Expand Down
File renamed without changes.

0 comments on commit 8f2c287

Please sign in to comment.