Skip to content

Commit dc5997b

Browse files
authored
fix coding style
- indent with 2 spaces - add semicolon
1 parent c144e1f commit dc5997b

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docs/api/javascript-api.mdx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,25 @@ import {
6363
} from '@farmfe/core';
6464

6565
const resolveUserConfig = await resolveConfig({
66-
compilation: {
67-
output: {
68-
publicPath: "/dist"
69-
},
70-
input: {
71-
index: "./base.html"
72-
}
66+
compilation: {
67+
output: {
68+
publicPath: "/dist"
7369
},
74-
server: {
75-
port: 6532,
76-
hmr: {
77-
path: "/__farm_hmr",
78-
}
79-
},
80-
plugins: [
81-
'@farmfe/plugin-react',
82-
'@farmfe/plugin-sass'
83-
],
84-
})
70+
input: {
71+
index: "./base.html"
72+
}
73+
},
74+
server: {
75+
port: 6532,
76+
hmr: {
77+
path: "/__farm_hmr",
78+
}
79+
},
80+
plugins: [
81+
'@farmfe/plugin-react',
82+
'@farmfe/plugin-sass'
83+
],
84+
});
8585

8686
// create compiler
8787
const compiler = await createCompiler(resolveUserConfig);

0 commit comments

Comments
 (0)