diff --git a/dist/TickWatch.min.js b/dist/TickWatch.min.js index 0268917..909c8fe 100644 --- a/dist/TickWatch.min.js +++ b/dist/TickWatch.min.js @@ -1,5 +1,5 @@ /* - * TickWatch-js v1.0.1 + * TickWatch-js v1.0.2 * (c) HichemTech * Released under the MIT License. * Github: github.com/HichemTab-tech/TickWatch-js diff --git a/dist/style.css b/dist/style.css index 756bb73..99eae8b 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1,5 +1,5 @@ /* - * TickWatch-js v1.0.1 + * TickWatch-js v1.0.2 * (c) HichemTech * Released under the MIT License. * Github: github.com/HichemTab-tech/TickWatch-js diff --git a/index.js b/index.js index d92397e..305aca7 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import '@scss/style.scss'; +import './src/scss/style.scss'; import {TickWatch} from "./src/TickWatch"; (function ($) { diff --git a/package-lock.json b/package-lock.json index 2b389ef..b8cc3f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tickwatchjs", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tickwatchjs", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "jquery": "^3.7.0", diff --git a/package.json b/package.json index b461722..c99f576 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tickwatchjs", - "version": "1.0.1", + "version": "1.0.2", "description": "TickWatch is a jQuery plugin that provides a customizable electronic clock with start, stop, and set functionalities. It can count up or down and display time in various formats.", "keywords": [ "jquery", diff --git a/src/TickWatch.js b/src/TickWatch.js index b6e4547..5686898 100644 --- a/src/TickWatch.js +++ b/src/TickWatch.js @@ -1,4 +1,4 @@ -import {ClockSVG} from "@js/clock-creator"; +import {ClockSVG} from "./js/clock-creator"; import {isDefined} from "npm-jquery-plugin-helpers/src/helpers"; export const TickWatch = function (options = {}, ...args) { diff --git a/vite.config.js b/vite.config.js index fb4a535..3f7abb3 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,20 +4,13 @@ import { terser } from 'rollup-plugin-terser'; import banner from 'vite-plugin-banner'; const bannerText = `/* - * TickWatch-js v1.0.1 + * TickWatch-js v1.0.2 * (c) HichemTech * Released under the MIT License. * Github: github.com/HichemTab-tech/TickWatch-js */ `; -const aliasesStrings = ['js', 'scss', 'images']; - -const aliases = {}; -aliasesStrings.forEach(alias => { - aliases[`@${alias}`] = path.resolve(__dirname, `src/${alias}/`); -}); - // noinspection JSUnusedGlobalSymbols export default defineConfig(({ command }) => { const isProduction = command === 'build'; @@ -48,11 +41,6 @@ export default defineConfig(({ command }) => { }, server: { port: 5001 - }, - resolve: { - alias: { - ...aliases - } } }; }); \ No newline at end of file