:add some files
This commit is contained in:
parent
b56cc416d0
commit
e6fdbf7a94
@ -17,7 +17,7 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
const resolver = createResolver(import.meta.url);
|
||||
|
||||
addComponentsDir({
|
||||
path: resolver.resolve("src/components/Ml/Button"),
|
||||
path: resolver.resolve("../src/components/Ml/Button"),
|
||||
});
|
||||
},
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nuxt3-reusable-components",
|
||||
"version": "1.1.8",
|
||||
"version": "1.2.0",
|
||||
"private": false,
|
||||
"type": "module",
|
||||
"main": "index.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: {
|
||||
|
@ -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,
|
||||
},
|
||||
}),
|
||||
],
|
||||
};
|
Loading…
Reference in New Issue
Block a user