Skip to content

Commit f74a659

Browse files
committed
fix package.json
1 parent 5255b33 commit f74a659

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export const abort = () => {
142142

143143
//export const loaded = async () => {
144144
//export async function loaded() {
145-
export const loaded = async function() {
145+
export async function loaded() {
146146
connect_file_img('imageSrc', 'fileInputSrc');
147147

148148
for (let pack of known_iconpacks) {

webpack.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = [
2626
devtool: "inline-source-map",
2727
},
2828
{
29-
target: 'node',
29+
//target: 'node',
3030
entry: './src/main.js',
3131
output: {
3232
path: path.resolve(__dirname, 'dist'),
@@ -36,6 +36,6 @@ module.exports = [
3636
name: 'sp',
3737
},
3838
},
39-
devtool: "inline-source-map",
39+
//devtool: "inline-source-map",
4040
}
4141
];

0 commit comments

Comments
 (0)