Closed nickngqs closed 7 years ago
My error message was Plugins that transform code (such as 'rollup-plugin-pug') should generate accompanying sourcemaps
Plugins that transform code (such as 'rollup-plugin-pug') should generate accompanying sourcemaps
In my main.js
import html from '../pug/template.pug';
In my rollup.config.js
import pug from 'rollup-plugin-pug'; export default { input: 'src/js/main.js', output: { file: 'dist/js/main.js', format: 'iife', sourcemap: 'inline', }, plugins: [ pug({ include: 'src/pug/**.pug', pretty: true, staticPattern: /\S/, sourceMap: true }) ] }
My error message was
Plugins that transform code (such as 'rollup-plugin-pug') should generate accompanying sourcemaps
In my main.js
In my rollup.config.js