From e6fdbf7a943528b1ffb7acb1a458d0533b5952d6 Mon Sep 17 00:00:00 2001 From: Arina Yakovenko Date: Mon, 8 Jul 2024 11:24:45 +0200 Subject: [PATCH] :add some files --- modules/module.ts | 2 +- package.json | 2 +- tailwind.config.js | 4 +--- webpack.config.js | 38 -------------------------------------- 4 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 webpack.config.js diff --git a/modules/module.ts b/modules/module.ts index c9f0640..351159c 100644 --- a/modules/module.ts +++ b/modules/module.ts @@ -17,7 +17,7 @@ export default defineNuxtModule({ const resolver = createResolver(import.meta.url); addComponentsDir({ - path: resolver.resolve("src/components/Ml/Button"), + path: resolver.resolve("../src/components/Ml/Button"), }); }, }); diff --git a/package.json b/package.json index de54ec6..c2c0a3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuxt3-reusable-components", - "version": "1.1.8", + "version": "1.2.0", "private": false, "type": "module", "main": "index.js", diff --git a/tailwind.config.js b/tailwind.config.js index c235e17..2ab37b0 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,10 +2,8 @@ export default { content: [ "./components/**/*.{vue,js}", - "./layouts/**/*.vue", - "./pages/**/*.vue", - "./plugins/**/*.{js,ts}", "./nuxt.config.{js,ts}", + "./src/**/*.{vue,js,ts}", ], theme: { extend: { diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 765ac55..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,38 +0,0 @@ -const webpack = require("webpack"); - -module.exports = { - entry: "./src/index.js", - output: { - path: "./dist/", - filename: "index.js", - library: "VuejsPaginate", - libraryTarget: "umd", - }, - resolve: { - extensions: ["", ".js", ".vue"], - }, - module: { - loaders: [ - { - test: /\.vue$/, - loader: "vue", - }, - { - test: /\.js$/, - loader: "babel", - include: __dirname, - exclude: /node_modules/, - }, - ], - }, - plugins: [ - new webpack.optimize.UglifyJsPlugin({ - minimize: true, - sourceMap: false, - mangle: true, - compress: { - warnings: false, - }, - }), - ], -};