:add some files

This commit is contained in:
Arina Yakovenko 2024-07-08 11:24:45 +02:00
parent b56cc416d0
commit e6fdbf7a94
4 changed files with 3 additions and 43 deletions

View File

@ -17,7 +17,7 @@ export default defineNuxtModule<ModuleOptions>({
const resolver = createResolver(import.meta.url); const resolver = createResolver(import.meta.url);
addComponentsDir({ addComponentsDir({
path: resolver.resolve("src/components/Ml/Button"), path: resolver.resolve("../src/components/Ml/Button"),
}); });
}, },
}); });

View File

@ -1,6 +1,6 @@
{ {
"name": "nuxt3-reusable-components", "name": "nuxt3-reusable-components",
"version": "1.1.8", "version": "1.2.0",
"private": false, "private": false,
"type": "module", "type": "module",
"main": "index.js", "main": "index.js",

View File

@ -2,10 +2,8 @@
export default { export default {
content: [ content: [
"./components/**/*.{vue,js}", "./components/**/*.{vue,js}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}", "./nuxt.config.{js,ts}",
"./src/**/*.{vue,js,ts}",
], ],
theme: { theme: {
extend: { extend: {

View File

@ -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,
},
}),
],
};