Skip to content

Commit

Permalink
fix: pointing types in the right directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharf5 committed May 9, 2020
1 parent 96e759b commit 8757f91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "runtime-memcache",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"description": "A no dependency javascript runtime key-value cache store for small chunks of arbitrary data (strings, objects, numbers)",
"homepage": "https://github.com/tusharf5/runtime-memcache",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"types": "./dist/esm/index.d.ts",
"files": [
"dist/"
],
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const CopyPlugin = require('copy-webpack-plugin');
//const CopyPlugin = require('copy-webpack-plugin');

const umd = {
entry: {
Expand All @@ -17,7 +17,7 @@ const umd = {
module: {
rules: [{ test: /\.t|js$/, use: 'babel-loader' }],
},
plugins: [new CopyPlugin([{ from: 'dist/esm/*.d.ts', to: '../umd/[name].[ext]' }])],
// plugins: [new CopyPlugin([{ from: 'dist/esm/*.d.ts', to: '../umd/[name].[ext]' }])],
};

module.exports = [umd];

0 comments on commit 8757f91

Please sign in to comment.