Skip to content

Commit

Permalink
Change build config to remove hash when building assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy-Walton committed Aug 23, 2024
1 parent 5b171b9 commit 273743f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
3 changes: 0 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ export default [
eslintConfigPrettier,
{
files: ['**/*.js'],
plugins: {
prettier: prettier,
},
rules: {
'no-unused-vars': [
'warn',
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"name": "@rolemodel/tailored-select",
"description": "Tailored Select is a Web Component built to be a searchable select box. Inspired by tom-select.js to provide a framework agnostic autocomplete widget with native-feeling keyboard navigation. Useful for tagging, contact lists, etc.",
"version": "0.0.1",
"version": "0.0.2",
"author": "RoleModel Software",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js"
},
"./dist/components/*": "./dist/components/*",
"./dist/assets/*": "./dist/assets/*"
"import": "./dist/assets/index.js"
}
},
"files": [
"dist"
Expand Down
11 changes: 11 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineConfig } from 'vite'

export default defineConfig({
build: {
rollupOptions: {
output: {
entryFileNames: `assets/[name].js`,
},
},
},
})

0 comments on commit 273743f

Please sign in to comment.