create-clojurific 0.12.7 → 0.12.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import cljf from 'clojurific/vite';
|
|
2
2
|
import devServer from '@hono/vite-dev-server';
|
|
3
3
|
import build from '@hono/vite-build/node';
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ const entry = 'target/cljs/cljs-esm-entries/server.js';
|
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
9
|
plugins: [
|
|
10
|
-
|
|
10
|
+
cljf({
|
|
11
11
|
outputDir: 'target/cljs',
|
|
12
12
|
compilerOptions: {
|
|
13
13
|
'js-entries': { server: { exports: { default: "'{{ns}}/app" } } },
|
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
// namespaces in place: defonce keeps its value
|
|
28
28
|
loadModule: async (server, entry) => (await server.environments.ssr.runner.import(entry)).default,
|
|
29
29
|
}),
|
|
30
|
-
// the
|
|
30
|
+
// the cljf plugin minifies, after pruning unused protocol implementations
|
|
31
31
|
build({ entry, emptyOutDir: true, minify: false }),
|
|
32
32
|
],
|
|
33
33
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import cljf from 'clojurific/vite';
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
plugins: [
|
|
5
|
-
|
|
5
|
+
cljf({
|
|
6
6
|
outputDir: 'target/cljs',
|
|
7
7
|
// the dev server starts an nREPL server, its port in .nrepl-port
|
|
8
8
|
compilerOptions: { repl: { 'nrepl-port': 0 } },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import cljf from 'clojurific/vite';
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
plugins: [
|
|
5
|
-
|
|
5
|
+
cljf({
|
|
6
6
|
outputDir: 'target/cljs',
|
|
7
7
|
// the dev server starts an nREPL server, its port in .nrepl-port
|
|
8
8
|
compilerOptions: { repl: { 'nrepl-port': 0 } },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import cljf from 'clojurific/vite';
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
plugins: [
|
|
5
|
-
|
|
5
|
+
cljf({
|
|
6
6
|
outputDir: 'target/cljs',
|
|
7
7
|
// the dev server starts an nREPL server, its port in .nrepl-port
|
|
8
8
|
compilerOptions: { repl: { 'nrepl-port': 0 } },
|